|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.slf4j.ext.LoggerWrapper
public class LoggerWrapper
A helper class wrapping an Logger instance preserving
location information if the wrapped instance supports it.
| Field Summary | |
|---|---|
protected boolean |
instanceofLAL
|
protected Logger |
logger
|
| Fields inherited from interface org.slf4j.Logger |
|---|
ROOT_LOGGER_NAME |
| Constructor Summary | |
|---|---|
LoggerWrapper(Logger logger,
String fqcn)
|
|
| Method Summary | |
|---|---|
void |
debug(Marker marker,
String msg)
Delegate to the appropriate method of the underlying logger. |
void |
debug(Marker marker,
String format,
Object... argArray)
Delegate to the appropriate method of the underlying logger. |
void |
debug(Marker marker,
String format,
Object arg)
Delegate to the appropriate method of the underlying logger. |
void |
debug(Marker marker,
String format,
Object arg1,
Object arg2)
Delegate to the appropriate method of the underlying logger. |
void |
debug(Marker marker,
String msg,
Throwable t)
Delegate to the appropriate method of the underlying logger. |
void |
debug(String msg)
Delegate to the appropriate method of the underlying logger. |
void |
debug(String format,
Object... argArray)
Delegate to the appropriate method of the underlying logger. |
void |
debug(String format,
Object arg)
Delegate to the appropriate method of the underlying logger. |
void |
debug(String format,
Object arg1,
Object arg2)
Delegate to the appropriate method of the underlying logger. |
void |
debug(String msg,
Throwable t)
Delegate to the appropriate method of the underlying logger. |
void |
error(Marker marker,
String msg)
Delegate to the appropriate method of the underlying logger. |
void |
error(Marker marker,
String format,
Object... args)
Delegate to the appropriate method of the underlying logger. |
void |
error(Marker marker,
String format,
Object arg)
Delegate to the appropriate method of the underlying logger. |
void |
error(Marker marker,
String format,
Object arg1,
Object arg2)
Delegate to the appropriate method of the underlying logger. |
void |
error(Marker marker,
String msg,
Throwable t)
Delegate to the appropriate method of the underlying logger. |
void |
error(String msg)
Delegate to the appropriate method of the underlying logger. |
void |
error(String format,
Object... args)
Delegate to the appropriate method of the underlying logger. |
void |
error(String format,
Object arg)
Delegate to the appropriate method of the underlying logger. |
void |
error(String format,
Object arg1,
Object arg2)
Delegate to the appropriate method of the underlying logger. |
void |
error(String msg,
Throwable t)
Delegate to the appropriate method of the underlying logger. |
String |
getName()
Delegate to the appropriate method of the underlying logger. |
void |
info(Marker marker,
String msg)
Delegate to the appropriate method of the underlying logger. |
void |
info(Marker marker,
String format,
Object... args)
Delegate to the appropriate method of the underlying logger. |
void |
info(Marker marker,
String format,
Object arg)
Delegate to the appropriate method of the underlying logger. |
void |
info(Marker marker,
String format,
Object arg1,
Object arg2)
Delegate to the appropriate method of the underlying logger. |
void |
info(Marker marker,
String msg,
Throwable t)
Delegate to the appropriate method of the underlying logger. |
void |
info(String msg)
Delegate to the appropriate method of the underlying logger. |
void |
info(String format,
Object... args)
Delegate to the appropriate method of the underlying logger. |
void |
info(String format,
Object arg)
Delegate to the appropriate method of the underlying logger. |
void |
info(String format,
Object arg1,
Object arg2)
Delegate to the appropriate method of the underlying logger. |
void |
info(String msg,
Throwable t)
Delegate to the appropriate method of the underlying logger. |
boolean |
isDebugEnabled()
Delegate to the appropriate method of the underlying logger. |
boolean |
isDebugEnabled(Marker marker)
Delegate to the appropriate method of the underlying logger. |
boolean |
isErrorEnabled()
Delegate to the appropriate method of the underlying logger. |
boolean |
isErrorEnabled(Marker marker)
Delegate to the appropriate method of the underlying logger. |
boolean |
isInfoEnabled()
Delegate to the appropriate method of the underlying logger. |
boolean |
isInfoEnabled(Marker marker)
Delegate to the appropriate method of the underlying logger. |
boolean |
isTraceEnabled()
Delegate to the appropriate method of the underlying logger. |
boolean |
isTraceEnabled(Marker marker)
Delegate to the appropriate method of the underlying logger. |
boolean |
isWarnEnabled()
Is the logger instance enabled for the WARN level? |
boolean |
isWarnEnabled(Marker marker)
Delegate to the appropriate method of the underlying logger. |
void |
trace(Marker marker,
String msg)
Delegate to the appropriate method of the underlying logger. |
void |
trace(Marker marker,
String format,
Object... args)
Delegate to the appropriate method of the underlying logger. |
void |
trace(Marker marker,
String format,
Object arg)
Delegate to the appropriate method of the underlying logger. |
void |
trace(Marker marker,
String format,
Object arg1,
Object arg2)
Delegate to the appropriate method of the underlying logger. |
void |
trace(Marker marker,
String msg,
Throwable t)
Delegate to the appropriate method of the underlying logger. |
void |
trace(String msg)
Delegate to the appropriate method of the underlying logger. |
void |
trace(String format,
Object... args)
Delegate to the appropriate method of the underlying logger. |
void |
trace(String format,
Object arg)
Delegate to the appropriate method of the underlying logger. |
void |
trace(String format,
Object arg1,
Object arg2)
Delegate to the appropriate method of the underlying logger. |
void |
trace(String msg,
Throwable t)
Delegate to the appropriate method of the underlying logger. |
void |
warn(Marker marker,
String msg)
Delegate to the appropriate method of the underlying logger. |
void |
warn(Marker marker,
String format,
Object... args)
Delegate to the appropriate method of the underlying logger. |
void |
warn(Marker marker,
String format,
Object arg)
Delegate to the appropriate method of the underlying logger. |
void |
warn(Marker marker,
String format,
Object arg1,
Object arg2)
Delegate to the appropriate method of the underlying logger. |
void |
warn(Marker marker,
String msg,
Throwable t)
Delegate to the appropriate method of the underlying logger. |
void |
warn(String msg)
Delegate to the appropriate method of the underlying logger. |
void |
warn(String format,
Object... args)
Delegate to the appropriate method of the underlying logger. |
void |
warn(String format,
Object arg)
Delegate to the appropriate method of the underlying logger. |
void |
warn(String format,
Object arg1,
Object arg2)
Delegate to the appropriate method of the underlying logger. |
void |
warn(String msg,
Throwable t)
Delegate to the appropriate method of the underlying logger. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Logger logger
protected final boolean instanceofLAL
| Constructor Detail |
|---|
public LoggerWrapper(Logger logger,
String fqcn)
| Method Detail |
|---|
public boolean isTraceEnabled()
isTraceEnabled in interface Loggerpublic boolean isTraceEnabled(Marker marker)
isTraceEnabled in interface Loggermarker - The marker data to take into consideration
public void trace(String msg)
trace in interface Loggermsg - the message string to be logged
public void trace(String format,
Object arg)
trace in interface Loggerformat - the format stringarg - the argument
public void trace(String format,
Object arg1,
Object arg2)
trace in interface Loggerformat - the format stringarg1 - the first argumentarg2 - the second argument
public void trace(String format,
Object... args)
trace in interface Loggerformat - the format stringargs - a list of 3 or more arguments
public void trace(String msg,
Throwable t)
trace in interface Loggermsg - the message accompanying the exceptiont - the exception (throwable) to log
public void trace(Marker marker,
String msg)
trace in interface Loggermarker - the marker data specific to this log statementmsg - the message string to be logged
public void trace(Marker marker,
String format,
Object arg)
trace in interface Loggermarker - the marker data specific to this log statementformat - the format stringarg - the argument
public void trace(Marker marker,
String format,
Object arg1,
Object arg2)
trace in interface Loggermarker - the marker data specific to this log statementformat - the format stringarg1 - the first argumentarg2 - the second argument
public void trace(Marker marker,
String format,
Object... args)
trace in interface Loggermarker - the marker data specific to this log statementformat - the format stringargs - an array of arguments
public void trace(Marker marker,
String msg,
Throwable t)
trace in interface Loggermarker - the marker data specific to this log statementmsg - the message accompanying the exceptiont - the exception (throwable) to logpublic boolean isDebugEnabled()
isDebugEnabled in interface Loggerpublic boolean isDebugEnabled(Marker marker)
isDebugEnabled in interface Loggermarker - The marker data to take into consideration
public void debug(String msg)
debug in interface Loggermsg - the message string to be logged
public void debug(String format,
Object arg)
debug in interface Loggerformat - the format stringarg - the argument
public void debug(String format,
Object arg1,
Object arg2)
debug in interface Loggerformat - the format stringarg1 - the first argumentarg2 - the second argument
public void debug(String format,
Object... argArray)
debug in interface Loggerformat - the format stringargArray - a list of 3 or more arguments
public void debug(String msg,
Throwable t)
debug in interface Loggermsg - the message accompanying the exceptiont - the exception (throwable) to log
public void debug(Marker marker,
String msg)
debug in interface Loggermarker - the marker data specific to this log statementmsg - the message string to be logged
public void debug(Marker marker,
String format,
Object arg)
debug in interface Loggermarker - the marker data specific to this log statementformat - the format stringarg - the argument
public void debug(Marker marker,
String format,
Object arg1,
Object arg2)
debug in interface Loggermarker - the marker data specific to this log statementformat - the format stringarg1 - the first argumentarg2 - the second argument
public void debug(Marker marker,
String format,
Object... argArray)
debug in interface Loggermarker - the marker data specific to this log statementformat - the format stringargArray - a list of 3 or more arguments
public void debug(Marker marker,
String msg,
Throwable t)
debug in interface Loggermarker - the marker data specific to this log statementmsg - the message accompanying the exceptiont - the exception (throwable) to logpublic boolean isInfoEnabled()
isInfoEnabled in interface Loggerpublic boolean isInfoEnabled(Marker marker)
isInfoEnabled in interface Loggermarker - The marker data to take into consideration
public void info(String msg)
info in interface Loggermsg - the message string to be logged
public void info(String format,
Object arg)
info in interface Loggerformat - the format stringarg - the argument
public void info(String format,
Object arg1,
Object arg2)
info in interface Loggerformat - the format stringarg1 - the first argumentarg2 - the second argument
public void info(String format,
Object... args)
info in interface Loggerformat - the format stringargs - a list of 3 or more arguments
public void info(String msg,
Throwable t)
info in interface Loggermsg - the message accompanying the exceptiont - the exception (throwable) to log
public void info(Marker marker,
String msg)
info in interface Loggermarker - The marker specific to this log statementmsg - the message string to be logged
public void info(Marker marker,
String format,
Object arg)
info in interface Loggermarker - the marker data specific to this log statementformat - the format stringarg - the argument
public void info(Marker marker,
String format,
Object arg1,
Object arg2)
info in interface Loggermarker - the marker data specific to this log statementformat - the format stringarg1 - the first argumentarg2 - the second argument
public void info(Marker marker,
String format,
Object... args)
info in interface Loggermarker - the marker data specific to this log statementformat - the format stringargs - a list of 3 or more arguments
public void info(Marker marker,
String msg,
Throwable t)
info in interface Loggermarker - the marker data for this log statementmsg - the message accompanying the exceptiont - the exception (throwable) to logpublic boolean isWarnEnabled()
Logger
isWarnEnabled in interface Loggerpublic boolean isWarnEnabled(Marker marker)
isWarnEnabled in interface Loggermarker - The marker data to take into consideration
public void warn(String msg)
warn in interface Loggermsg - the message string to be logged
public void warn(String format,
Object arg)
warn in interface Loggerformat - the format stringarg - the argument
public void warn(String format,
Object arg1,
Object arg2)
warn in interface Loggerformat - the format stringarg1 - the first argumentarg2 - the second argument
public void warn(String format,
Object... args)
warn in interface Loggerformat - the format stringargs - a list of 3 or more arguments
public void warn(String msg,
Throwable t)
warn in interface Loggermsg - the message accompanying the exceptiont - the exception (throwable) to log
public void warn(Marker marker,
String msg)
warn in interface Loggermarker - The marker specific to this log statementmsg - the message string to be logged
public void warn(Marker marker,
String format,
Object arg)
warn in interface Loggermarker - the marker data specific to this log statementformat - the format stringarg - the argument
public void warn(Marker marker,
String format,
Object arg1,
Object arg2)
warn in interface Loggermarker - the marker data specific to this log statementformat - the format stringarg1 - the first argumentarg2 - the second argument
public void warn(Marker marker,
String format,
Object... args)
warn in interface Loggermarker - the marker data specific to this log statementformat - the format stringargs - a list of 3 or more arguments
public void warn(Marker marker,
String msg,
Throwable t)
warn in interface Loggermarker - the marker data for this log statementmsg - the message accompanying the exceptiont - the exception (throwable) to logpublic boolean isErrorEnabled()
isErrorEnabled in interface Loggerpublic boolean isErrorEnabled(Marker marker)
isErrorEnabled in interface Loggermarker - The marker data to take into consideration
public void error(String msg)
error in interface Loggermsg - the message string to be logged
public void error(String format,
Object arg)
error in interface Loggerformat - the format stringarg - the argument
public void error(String format,
Object arg1,
Object arg2)
error in interface Loggerformat - the format stringarg1 - the first argumentarg2 - the second argument
public void error(String format,
Object... args)
error in interface Loggerformat - the format stringargs - a list of 3 or more arguments
public void error(String msg,
Throwable t)
error in interface Loggermsg - the message accompanying the exceptiont - the exception (throwable) to log
public void error(Marker marker,
String msg)
error in interface Loggermarker - The marker specific to this log statementmsg - the message string to be logged
public void error(Marker marker,
String format,
Object arg)
error in interface Loggermarker - the marker data specific to this log statementformat - the format stringarg - the argument
public void error(Marker marker,
String format,
Object arg1,
Object arg2)
error in interface Loggermarker - the marker data specific to this log statementformat - the format stringarg1 - the first argumentarg2 - the second argument
public void error(Marker marker,
String format,
Object... args)
error in interface Loggermarker - the marker data specific to this log statementformat - the format stringargs - a list of 3 or more arguments
public void error(Marker marker,
String msg,
Throwable t)
error in interface Loggermarker - the marker data specific to this log statementmsg - the message accompanying the exceptiont - the exception (throwable) to logpublic String getName()
getName in interface Logger
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||