java.lang.Object
org.slf4j.helpers.MarkerIgnoringBase
org.eclipse.jgit.junit.http.RecordingLogger
- All Implemented Interfaces:
Serializable,org.slf4j.Logger
public class RecordingLogger
extends org.slf4j.helpers.MarkerIgnoringBase
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from interface org.slf4j.Logger
ROOT_LOGGER_NAME -
Constructor Summary
ConstructorsConstructorDescriptionConstructor forRecordingLogger.RecordingLogger(String name) Constructor forRecordingLogger. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclear()Clear the warnings, automatically done byAppServer.setUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidgetName()static List<RecordingLogger.Warning>Get thewarnings.voidvoidvoidvoidvoidbooleanbooleanbooleanbooleanbooleanprotected ObjectvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class org.slf4j.helpers.MarkerIgnoringBase
debug, debug, debug, debug, debug, error, error, error, error, error, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, toString, trace, trace, trace, trace, trace, warn, warn, warn, warn, warnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.slf4j.Logger
getName
-
Field Details
-
name
-
-
Constructor Details
-
RecordingLogger
public RecordingLogger()Constructor forRecordingLogger. -
RecordingLogger
Constructor forRecordingLogger.- Parameters:
name- logger name
-
-
Method Details
-
clear
public static void clear()Clear the warnings, automatically done byAppServer.setUp() -
getWarnings
Get thewarnings.- Returns:
- the warnings (if any) from the last execution
-
isTraceEnabled
public boolean isTraceEnabled() -
trace
-
trace
-
trace
-
trace
-
trace
-
isDebugEnabled
public boolean isDebugEnabled() -
debug
-
debug
-
debug
-
debug
-
debug
-
isInfoEnabled
public boolean isInfoEnabled() -
info
-
info
-
info
-
info
-
info
-
isWarnEnabled
public boolean isWarnEnabled() -
warn
-
warn
-
warn
-
warn
-
warn
-
isErrorEnabled
public boolean isErrorEnabled() -
error
-
error
-
error
-
error
-
error
-
getName
- Specified by:
getNamein interfaceorg.slf4j.Logger
-
readResolve
- Throws:
ObjectStreamException
-