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, isWarnEnabled
debug, 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, warn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
atDebug, atError, atInfo, atLevel, atTrace, atWarn, isEnabledForLevel, makeLoggingEventBuilder
public EventRecordingLogger(SubstituteLogger logger, Queue<SubstituteLoggingEvent> eventQueue)
public String getName()
Logger
Logger
instance.getName
in interface Logger
getName
in class AbstractLogger
public boolean isTraceEnabled()
Logger
public boolean isDebugEnabled()
Logger
public boolean isInfoEnabled()
Logger
public boolean isWarnEnabled()
Logger
public boolean isErrorEnabled()
Logger
protected void handleNormalizedLoggingCall(Level level, Marker marker, String msg, Object[] args, Throwable throwable)
AbstractLogger
This method assumes that the separation of the args array into actual objects and a throwable has been already operated.
handleNormalizedLoggingCall
in class AbstractLogger
protected String getFullyQualifiedCallerName()
getFullyQualifiedCallerName
in class AbstractLogger
Copyright © 2005–2022 QOS.ch. All rights reserved.