Package com.callibrity.logging.test
Class LogTracker
- java.lang.Object
-
- com.callibrity.logging.test.LogTracker
-
public class LogTracker extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogTracker.LogLevel
-
Constructor Summary
Constructors Constructor Description LogTracker()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(String loggingStatement)static LogTrackercreate()voidprepareLoggingFramework()LogTrackerrecordForLevel(LogTracker.LogLevel level)LogTrackerrecordForObject(Object sut)LogTrackerrecordForType(Class<?> type)voidresetLoggingFramework()intsize()
-
-
-
Method Detail
-
create
public static LogTracker create()
-
recordForLevel
public LogTracker recordForLevel(LogTracker.LogLevel level)
-
recordForObject
public LogTracker recordForObject(Object sut)
-
recordForType
public LogTracker recordForType(Class<?> type)
-
contains
public boolean contains(String loggingStatement)
-
size
public int size()
-
resetLoggingFramework
public void resetLoggingFramework()
-
prepareLoggingFramework
public void prepareLoggingFramework()
-
-