public class EventRecordingLogger extends LegacyAbstractLogger
SubstituteLogger.ROOT_LOGGER_NAME| Constructor and Description |
|---|
EventRecordingLogger(SubstituteLogger logger,
Queue<SubstituteLoggingEvent> eventQueue) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getFullyQualifiedCallerName() |
String |
getName()
Return the name of this
Logger instance. |
protected void |
handleNormalizedLoggingCall(Level level,
Marker marker,
String msg,
Object[] args,
Throwable throwable)
Given various arguments passed as parameters perform actual logging.
|
boolean |
isDebugEnabled()
Is the logger instance enabled for the DEBUG level?
|
boolean |
isErrorEnabled()
Is the logger instance enabled for the ERROR level?
|
boolean |
isInfoEnabled()
Is the logger instance enabled for the INFO level?
|
boolean |
isTraceEnabled()
Is the logger instance enabled for the TRACE level?
|
boolean |
isWarnEnabled()
Is the logger instance enabled for the WARN level?
|
isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnableddebug, debug, debug, debug, debug, debug, debug, debug, debug, debug, error, error, error, error, error, error, error, error, error, error, info, info, info, info, info, info, info, info, info, info, readResolve, trace, trace, trace, trace, trace, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn, warn, warn, warn, warn, warnclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitatDebug, atError, atInfo, atLevel, atTrace, atWarn, isEnabledForLevel, makeLoggingEventBuilderpublic EventRecordingLogger(SubstituteLogger logger, Queue<SubstituteLoggingEvent> eventQueue)
public String getName()
LoggerLogger instance.getName in interface LoggergetName in class AbstractLoggerpublic boolean isTraceEnabled()
Loggerpublic boolean isDebugEnabled()
Loggerpublic boolean isInfoEnabled()
Loggerpublic boolean isWarnEnabled()
Loggerpublic boolean isErrorEnabled()
Loggerprotected void handleNormalizedLoggingCall(Level level, Marker marker, String msg, Object[] args, Throwable throwable)
AbstractLoggerThis method assumes that the separation of the args array into actual objects and a throwable has been already operated.
handleNormalizedLoggingCall in class AbstractLoggerprotected String getFullyQualifiedCallerName()
getFullyQualifiedCallerName in class AbstractLoggerCopyright © 2005–2022 QOS.ch. All rights reserved.