ROOT_LOGGER_NAME| Constructor and Description |
|---|
EventRecodingLogger(SubstituteLogger
|
| Modifier and Type | Method and Description |
|---|---|
void |
debug(Marker
Log a message with the specific Marker at the DEBUG level.
|
void |
debug(Marker
This method is similar to
Logger method except that the marker data is also taken into consideration.
|
void |
debug(Marker
This method is similar to
Logger method except that the marker data is also taken into consideration.
|
void |
debug(Marker
This method is similar to
Logger method except that the marker data is also taken into consideration.
|
void |
debug(Marker
This method is similar to
Logger method except that the marker data is also taken into consideration.
|
void |
debug(String
Log a message at the DEBUG level.
|
void |
debug(String
Log a message at the DEBUG level according to the specified format and arguments.
|
void |
debug(String
Log a message at the DEBUG level according to the specified format and argument.
|
void |
debug(String
Log a message at the DEBUG level according to the specified format and arguments.
|
void |
debug(String
Log an exception (throwable) at the DEBUG level with an accompanying message.
|
void |
error(Marker
Log a message with the specific Marker at the ERROR level.
|
void |
error(Marker
This method is similar to
Logger method except that the marker data is also taken into consideration.
|
void |
error(Marker
This method is similar to
Logger method except that the marker data is also taken into consideration.
|
void |
error(Marker
This method is similar to
Logger method except that the marker data is also taken into consideration.
|
void |
error(Marker
This method is similar to
Logger method except that the marker data is also taken into consideration.
|
void |
error(String
Log a message at the ERROR level.
|
void |
error(String
Log a message at the ERROR level according to the specified format and arguments.
|
void |
error(String
Log a message at the ERROR level according to the specified format and argument.
|
void |
error(String
Log a message at the ERROR level according to the specified format and arguments.
|
void |
error(String
Log an exception (throwable) at the ERROR level with an accompanying message.
|
String |
getName()
Return the name of this
Logger instance.
|
void |
info(Marker
Log a message with the specific Marker at the INFO level.
|
void |
info(Marker
This method is similar to
Logger method except that the marker data is also taken into consideration.
|
void |
info(Marker
This method is similar to
Logger method except that the marker data is also taken into consideration.
|
void |
info(Marker
This method is similar to
Logger method except that the marker data is also taken into consideration.
|
void |
info(Marker
This method is similar to
Logger method except that the marker data is also taken into consideration.
|
void |
info(String
Log a message at the INFO level.
|
void |
info(String
Log a message at the INFO level according to the specified format and arguments.
|
void |
info(String
Log a message at the INFO level according to the specified format and argument.
|
void |
info(String
Log a message at the INFO level according to the specified format and arguments.
|
void |
info(String
Log an exception (throwable) at the INFO level with an accompanying message.
|
boolean |
isDebugEnabled()
Is the logger instance enabled for the DEBUG level?
|
boolean |
isDebugEnabled(Marker
Similar to
Logger method except that the marker data is also taken into account.
|
boolean |
isErrorEnabled()
Is the logger instance enabled for the ERROR level?
|
boolean |
isErrorEnabled(Marker
Similar to
Logger method except that the marker data is also taken into consideration.
|
boolean |
isInfoEnabled()
Is the logger instance enabled for the INFO level?
|
boolean |
isInfoEnabled(Marker
Similar to
Logger method except that the marker data is also taken into consideration.
|
boolean |
isTraceEnabled()
Is the logger instance enabled for the TRACE level?
|
boolean |
isTraceEnabled(Marker
Similar to
Logger method except that the marker data is also taken into account.
|
boolean |
isWarnEnabled()
Is the logger instance enabled for the WARN level?
|
boolean |
isWarnEnabled(Marker
Similar to
Logger method except that the marker data is also taken into consideration.
|
void |
trace(Marker
Log a message with the specific Marker at the TRACE level.
|
void |
trace(Marker
This method is similar to
Logger method except that the marker data is also taken into consideration.
|
void |
trace(Marker
This method is similar to
Logger method except that the marker data is also taken into consideration.
|
void |
trace(Marker
This method is similar to
Logger method except that the marker data is also taken into consideration.
|
void |
trace(Marker
This method is similar to
Logger method except that the marker data is also taken into consideration.
|
void |
trace(String
Log a message at the TRACE level.
|
void |
trace(String
Log a message at the TRACE level according to the specified format and arguments.
|
void |
trace(String
Log a message at the TRACE level according to the specified format and argument.
|
void |
trace(String
Log a message at the TRACE level according to the specified format and arguments.
|
void |
trace(String
Log an exception (throwable) at the TRACE level with an accompanying message.
|
void |
warn(Marker
Log a message with the specific Marker at the WARN level.
|
void |
warn(Marker
This method is similar to
Logger method except that the marker data is also taken into consideration.
|
void |
warn(Marker
This method is similar to
Logger method except that the marker data is also taken into consideration.
|
void |
warn(Marker
This method is similar to
Logger method except that the marker data is also taken into consideration.
|
void |
warn(Marker
This method is similar to
Logger method except that the marker data is also taken into consideration.
|
void |
warn(String
Log a message at the WARN level.
|
void |
warn(String
Log a message at the WARN level according to the specified format and arguments.
|
void |
warn(String
Log a message at the WARN level according to the specified format and argument.
|
void |
warn(String
Log a message at the WARN level according to the specified format and arguments.
|
void |
warn(String
Log an exception (throwable) at the WARN level with an accompanying message.
|
public EventRecodingLogger(SubstituteLoggerlogger, Queue <SubstituteLoggingEvent > eventQueue)
public StringgetName()
Logger
Logger instance.
public boolean isTraceEnabled()
Logger
isTraceEnabled in interface
Logger
public void trace(Stringmsg)
Logger
public void trace(Stringformat, Object arg)
Logger
This form avoids superfluous object creation when the logger is disabled for the TRACE level.
public void trace(Stringformat, Object arg1, Object arg2)
Logger
This form avoids superfluous object creation when the logger is disabled for the TRACE level.
public void trace(Stringformat, Object ... arguments)
Logger
This form avoids superfluous string concatenation when the logger is disabled for the TRACE level. However, this variant incurs the hidden (and relatively small) cost of creating an Object[] before invoking the method, even if this logger is disabled for TRACE. The variants taking one and two arguments exist solely in order to avoid this hidden cost.
public void trace(Stringmsg, Throwable t)
Logger
public boolean isTraceEnabled(Markermarker)
Logger
Logger.isTraceEnabled() method except that the marker data is also taken into account.
isTraceEnabled in interface
Logger
marker - The marker data to take into consideration
public void trace(Markermarker, String msg)
Logger
public void trace(Markermarker, String format, Object arg)
Logger
Logger.trace(String, Object) method except that the marker data is also taken into consideration.
public void trace(Markermarker, String format, Object arg1, Object arg2)
Logger
Logger.trace(String, Object, Object) method except that the marker data is also taken into consideration.
public void trace(Markermarker, String format, Object ... argArray)
Logger
Logger.trace(String, Object...) method except that the marker data is also taken into consideration.
public void trace(Markermarker, String msg, Throwable t)
Logger
Logger.trace(String, Throwable) method except that the marker data is also taken into consideration.
public boolean isDebugEnabled()
Logger
isDebugEnabled in interface
Logger
public void debug(Stringmsg)
Logger
public void debug(Stringformat, Object arg)
Logger
This form avoids superfluous object creation when the logger is disabled for the DEBUG level.
public void debug(Stringformat, Object arg1, Object arg2)
Logger
This form avoids superfluous object creation when the logger is disabled for the DEBUG level.
public void debug(Stringformat, Object ... arguments)
Logger
This form avoids superfluous string concatenation when the logger is disabled for the DEBUG level. However, this variant incurs the hidden (and relatively small) cost of creating an Object[] before invoking the method, even if this logger is disabled for DEBUG. The variants taking one and two arguments exist solely in order to avoid this hidden cost.
public void debug(Stringmsg, Throwable t)
Logger
public boolean isDebugEnabled(Markermarker)
Logger
Logger.isDebugEnabled() method except that the marker data is also taken into account.
isDebugEnabled in interface
Logger
marker - The marker data to take into consideration
public void debug(Markermarker, String msg)
Logger
public void debug(Markermarker, String format, Object arg)
Logger
Logger.debug(String, Object) method except that the marker data is also taken into consideration.
public void debug(Markermarker, String format, Object arg1, Object arg2)
Logger
Logger.debug(String, Object, Object) method except that the marker data is also taken into consideration.
public void debug(Markermarker, String format, Object ... arguments)
Logger
Logger.debug(String, Object...) method except that the marker data is also taken into consideration.
public void debug(Markermarker, String msg, Throwable t)
Logger
Logger.debug(String, Throwable) method except that the marker data is also taken into consideration.
public boolean isInfoEnabled()
Logger
isInfoEnabled in interface
Logger
public void info(Stringmsg)
Logger
public void info(Stringformat, Object arg)
Logger
This form avoids superfluous object creation when the logger is disabled for the INFO level.
public void info(Stringformat, Object arg1, Object arg2)
Logger
This form avoids superfluous object creation when the logger is disabled for the INFO level.
public void info(Stringformat, Object ... arguments)
Logger
This form avoids superfluous string concatenation when the logger is disabled for the INFO level. However, this variant incurs the hidden (and relatively small) cost of creating an Object[] before invoking the method, even if this logger is disabled for INFO. The variants taking one and two arguments exist solely in order to avoid this hidden cost.
public void info(Stringmsg, Throwable t)
Logger
public boolean isInfoEnabled(Markermarker)
Logger
Logger.isInfoEnabled() method except that the marker data is also taken into consideration.
isInfoEnabled in interface
Logger
marker - The marker data to take into consideration
public void info(Markermarker, String msg)
Logger
public void info(Markermarker, String format, Object arg)
Logger
Logger.info(String, Object) method except that the marker data is also taken into consideration.
public void info(Markermarker, String format, Object arg1, Object arg2)
Logger
Logger.info(String, Object, Object) method except that the marker data is also taken into consideration.
public void info(Markermarker, String format, Object ... arguments)
Logger
Logger.info(String, Object...) method except that the marker data is also taken into consideration.
public void info(Markermarker, String msg, Throwable t)
Logger
Logger.info(String, Throwable) method except that the marker data is also taken into consideration.
public boolean isWarnEnabled()
Logger
isWarnEnabled in interface
Logger
public void warn(Stringmsg)
Logger
public void warn(Stringformat, Object arg)
Logger
This form avoids superfluous object creation when the logger is disabled for the WARN level.
public void warn(Stringformat, Object arg1, Object arg2)
Logger
This form avoids superfluous object creation when the logger is disabled for the WARN level.
public void warn(Stringformat, Object ... arguments)
Logger
This form avoids superfluous string concatenation when the logger is disabled for the WARN level. However, this variant incurs the hidden (and relatively small) cost of creating an Object[] before invoking the method, even if this logger is disabled for WARN. The variants taking one and two arguments exist solely in order to avoid this hidden cost.
public void warn(Stringmsg, Throwable t)
Logger
public boolean isWarnEnabled(Markermarker)
Logger
Logger.isWarnEnabled() method except that the marker data is also taken into consideration.
isWarnEnabled in interface
Logger
marker - The marker data to take into consideration
public void warn(Markermarker, String msg)
Logger
public void warn(Markermarker, String format, Object arg)
Logger
Logger.warn(String, Object) method except that the marker data is also taken into consideration.
public void warn(Markermarker, String format, Object arg1, Object arg2)
Logger
Logger.warn(String, Object, Object) method except that the marker data is also taken into consideration.
public void warn(Markermarker, String format, Object ... arguments)
Logger
Logger.warn(String, Object...) method except that the marker data is also taken into consideration.
public void warn(Markermarker, String msg, Throwable t)
Logger
Logger.warn(String, Throwable) method except that the marker data is also taken into consideration.
public boolean isErrorEnabled()
Logger
isErrorEnabled in interface
Logger
public void error(Stringmsg)
Logger
public void error(Stringformat, Object arg)
Logger
This form avoids superfluous object creation when the logger is disabled for the ERROR level.
public void error(Stringformat, Object arg1, Object arg2)
Logger
This form avoids superfluous object creation when the logger is disabled for the ERROR level.
public void error(Stringformat, Object ... arguments)
Logger
This form avoids superfluous string concatenation when the logger is disabled for the ERROR level. However, this variant incurs the hidden (and relatively small) cost of creating an Object[] before invoking the method, even if this logger is disabled for ERROR. The variants taking one and two arguments exist solely in order to avoid this hidden cost.
public void error(Stringmsg, Throwable t)
Logger
public boolean isErrorEnabled(Markermarker)
Logger
Logger.isErrorEnabled() method except that the marker data is also taken into consideration.
isErrorEnabled in interface
Logger
marker - The marker data to take into consideration
public void error(Markermarker, String msg)
Logger
public void error(Markermarker, String format, Object arg)
Logger
Logger.error(String, Object) method except that the marker data is also taken into consideration.
public void error(Markermarker, String format, Object arg1, Object arg2)
Logger
Logger.error(String, Object, Object) method except that the marker data is also taken into consideration.
public void error(Markermarker, String format, Object ... arguments)
Logger
Logger.error(String, Object...) method except that the marker data is also taken into consideration.
public void error(Markermarker, String msg, Throwable t)
Logger
Logger.error(String, Throwable) method except that the marker data is also taken into consideration.