|
||||||||||
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,
java.lang.String fqcn)
|
Method Summary | |
---|---|
void |
debug(Marker marker,
java.lang.String msg)
Delegate to the appropriate method of the underlying logger. |
void |
debug(Marker marker,
java.lang.String format,
java.lang.Object arg)
Delegate to the appropriate method of the underlying logger. |
void |
debug(Marker marker,
java.lang.String format,
java.lang.Object[] argArray)
Delegate to the appropriate method of the underlying logger. |
void |
debug(Marker marker,
java.lang.String format,
java.lang.Object arg1,
java.lang.Object arg2)
Delegate to the appropriate method of the underlying logger. |
void |
debug(Marker marker,
java.lang.String msg,
java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger. |
void |
debug(java.lang.String msg)
Delegate to the appropriate method of the underlying logger. |
void |
debug(java.lang.String format,
java.lang.Object arg)
Delegate to the appropriate method of the underlying logger. |
void |
debug(java.lang.String format,
java.lang.Object[] argArray)
Delegate to the appropriate method of the underlying logger. |
void |
debug(java.lang.String format,
java.lang.Object arg1,
java.lang.Object arg2)
Delegate to the appropriate method of the underlying logger. |
void |
debug(java.lang.String msg,
java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger. |
void |
error(Marker marker,
java.lang.String msg)
Delegate to the appropriate method of the underlying logger. |
void |
error(Marker marker,
java.lang.String format,
java.lang.Object arg)
Delegate to the appropriate method of the underlying logger. |
void |
error(Marker marker,
java.lang.String format,
java.lang.Object[] argArray)
Delegate to the appropriate method of the underlying logger. |
void |
error(Marker marker,
java.lang.String format,
java.lang.Object arg1,
java.lang.Object arg2)
Delegate to the appropriate method of the underlying logger. |
void |
error(Marker marker,
java.lang.String msg,
java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger. |
void |
error(java.lang.String msg)
Delegate to the appropriate method of the underlying logger. |
void |
error(java.lang.String format,
java.lang.Object arg)
Delegate to the appropriate method of the underlying logger. |
void |
error(java.lang.String format,
java.lang.Object[] argArray)
Delegate to the appropriate method of the underlying logger. |
void |
error(java.lang.String format,
java.lang.Object arg1,
java.lang.Object arg2)
Delegate to the appropriate method of the underlying logger. |
void |
error(java.lang.String msg,
java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger. |
java.lang.String |
getName()
Delegate to the appropriate method of the underlying logger. |
void |
info(Marker marker,
java.lang.String msg)
Delegate to the appropriate method of the underlying logger. |
void |
info(Marker marker,
java.lang.String format,
java.lang.Object arg)
Delegate to the appropriate method of the underlying logger. |
void |
info(Marker marker,
java.lang.String format,
java.lang.Object[] argArray)
Delegate to the appropriate method of the underlying logger. |
void |
info(Marker marker,
java.lang.String format,
java.lang.Object arg1,
java.lang.Object arg2)
Delegate to the appropriate method of the underlying logger. |
void |
info(Marker marker,
java.lang.String msg,
java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger. |
void |
info(java.lang.String msg)
Delegate to the appropriate method of the underlying logger. |
void |
info(java.lang.String format,
java.lang.Object arg)
Delegate to the appropriate method of the underlying logger. |
void |
info(java.lang.String format,
java.lang.Object[] argArray)
Delegate to the appropriate method of the underlying logger. |
void |
info(java.lang.String format,
java.lang.Object arg1,
java.lang.Object arg2)
Delegate to the appropriate method of the underlying logger. |
void |
info(java.lang.String msg,
java.lang.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,
java.lang.String msg)
Delegate to the appropriate method of the underlying logger. |
void |
trace(Marker marker,
java.lang.String format,
java.lang.Object arg)
Delegate to the appropriate method of the underlying logger. |
void |
trace(Marker marker,
java.lang.String format,
java.lang.Object[] argArray)
Delegate to the appropriate method of the underlying logger. |
void |
trace(Marker marker,
java.lang.String format,
java.lang.Object arg1,
java.lang.Object arg2)
Delegate to the appropriate method of the underlying logger. |
void |
trace(Marker marker,
java.lang.String msg,
java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger. |
void |
trace(java.lang.String msg)
Delegate to the appropriate method of the underlying logger. |
void |
trace(java.lang.String format,
java.lang.Object arg)
Delegate to the appropriate method of the underlying logger. |
void |
trace(java.lang.String format,
java.lang.Object[] argArray)
Delegate to the appropriate method of the underlying logger. |
void |
trace(java.lang.String format,
java.lang.Object arg1,
java.lang.Object arg2)
Delegate to the appropriate method of the underlying logger. |
void |
trace(java.lang.String msg,
java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger. |
void |
warn(Marker marker,
java.lang.String msg)
Delegate to the appropriate method of the underlying logger. |
void |
warn(Marker marker,
java.lang.String format,
java.lang.Object arg)
Delegate to the appropriate method of the underlying logger. |
void |
warn(Marker marker,
java.lang.String format,
java.lang.Object[] argArray)
Delegate to the appropriate method of the underlying logger. |
void |
warn(Marker marker,
java.lang.String format,
java.lang.Object arg1,
java.lang.Object arg2)
Delegate to the appropriate method of the underlying logger. |
void |
warn(Marker marker,
java.lang.String msg,
java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger. |
void |
warn(java.lang.String msg)
Delegate to the appropriate method of the underlying logger. |
void |
warn(java.lang.String format,
java.lang.Object arg)
Delegate to the appropriate method of the underlying logger. |
void |
warn(java.lang.String format,
java.lang.Object[] argArray)
Delegate to the appropriate method of the underlying logger. |
void |
warn(java.lang.String format,
java.lang.Object arg1,
java.lang.Object arg2)
Delegate to the appropriate method of the underlying logger. |
void |
warn(java.lang.String msg,
java.lang.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, java.lang.String fqcn)
Method Detail |
---|
public boolean isTraceEnabled()
isTraceEnabled
in interface Logger
public boolean isTraceEnabled(Marker marker)
isTraceEnabled
in interface Logger
marker
- The marker data to take into considerationpublic void trace(java.lang.String msg)
trace
in interface Logger
msg
- the message string to be loggedpublic void trace(java.lang.String format, java.lang.Object arg)
trace
in interface Logger
format
- the format stringarg
- the argumentpublic void trace(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
trace
in interface Logger
format
- the format stringarg1
- the first argumentarg2
- the second argumentpublic void trace(java.lang.String format, java.lang.Object[] argArray)
trace
in interface Logger
format
- the format stringargArray
- an array of argumentspublic void trace(java.lang.String msg, java.lang.Throwable t)
trace
in interface Logger
msg
- the message accompanying the exceptiont
- the exception (throwable) to logpublic void trace(Marker marker, java.lang.String msg)
trace
in interface Logger
marker
- the marker data specific to this log statementmsg
- the message string to be loggedpublic void trace(Marker marker, java.lang.String format, java.lang.Object arg)
trace
in interface Logger
marker
- the marker data specific to this log statementformat
- the format stringarg
- the argumentpublic void trace(Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
trace
in interface Logger
marker
- the marker data specific to this log statementformat
- the format stringarg1
- the first argumentarg2
- the second argumentpublic void trace(Marker marker, java.lang.String format, java.lang.Object[] argArray)
trace
in interface Logger
marker
- the marker data specific to this log statementformat
- the format stringargArray
- an array of argumentspublic void trace(Marker marker, java.lang.String msg, java.lang.Throwable t)
trace
in interface Logger
marker
- the marker data specific to this log statementmsg
- the message accompanying the exceptiont
- the exception (throwable) to logpublic boolean isDebugEnabled()
isDebugEnabled
in interface Logger
public boolean isDebugEnabled(Marker marker)
isDebugEnabled
in interface Logger
marker
- The marker data to take into considerationpublic void debug(java.lang.String msg)
debug
in interface Logger
msg
- the message string to be loggedpublic void debug(java.lang.String format, java.lang.Object arg)
debug
in interface Logger
format
- the format stringarg
- the argumentpublic void debug(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
debug
in interface Logger
format
- the format stringarg1
- the first argumentarg2
- the second argumentpublic void debug(java.lang.String format, java.lang.Object[] argArray)
debug
in interface Logger
format
- the format stringargArray
- an array of argumentspublic void debug(java.lang.String msg, java.lang.Throwable t)
debug
in interface Logger
msg
- the message accompanying the exceptiont
- the exception (throwable) to logpublic void debug(Marker marker, java.lang.String msg)
debug
in interface Logger
marker
- the marker data specific to this log statementmsg
- the message string to be loggedpublic void debug(Marker marker, java.lang.String format, java.lang.Object arg)
debug
in interface Logger
marker
- the marker data specific to this log statementformat
- the format stringarg
- the argumentpublic void debug(Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
debug
in interface Logger
marker
- the marker data specific to this log statementformat
- the format stringarg1
- the first argumentarg2
- the second argumentpublic void debug(Marker marker, java.lang.String format, java.lang.Object[] argArray)
debug
in interface Logger
marker
- the marker data specific to this log statementformat
- the format stringargArray
- an array of argumentspublic void debug(Marker marker, java.lang.String msg, java.lang.Throwable t)
debug
in interface Logger
marker
- the marker data specific to this log statementmsg
- the message accompanying the exceptiont
- the exception (throwable) to logpublic boolean isInfoEnabled()
isInfoEnabled
in interface Logger
public boolean isInfoEnabled(Marker marker)
isInfoEnabled
in interface Logger
marker
- The marker data to take into considerationpublic void info(java.lang.String msg)
info
in interface Logger
msg
- the message string to be loggedpublic void info(java.lang.String format, java.lang.Object arg)
info
in interface Logger
format
- the format stringarg
- the argumentpublic void info(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
info
in interface Logger
format
- the format stringarg1
- the first argumentarg2
- the second argumentpublic void info(java.lang.String format, java.lang.Object[] argArray)
info
in interface Logger
format
- the format stringargArray
- an array of argumentspublic void info(java.lang.String msg, java.lang.Throwable t)
info
in interface Logger
msg
- the message accompanying the exceptiont
- the exception (throwable) to logpublic void info(Marker marker, java.lang.String msg)
info
in interface Logger
marker
- The marker specific to this log statementmsg
- the message string to be loggedpublic void info(Marker marker, java.lang.String format, java.lang.Object arg)
info
in interface Logger
marker
- the marker data specific to this log statementformat
- the format stringarg
- the argumentpublic void info(Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
info
in interface Logger
marker
- the marker data specific to this log statementformat
- the format stringarg1
- the first argumentarg2
- the second argumentpublic void info(Marker marker, java.lang.String format, java.lang.Object[] argArray)
info
in interface Logger
marker
- the marker data specific to this log statementformat
- the format stringargArray
- an array of argumentspublic void info(Marker marker, java.lang.String msg, java.lang.Throwable t)
info
in interface Logger
marker
- the marker data for this log statementmsg
- the message accompanying the exceptiont
- the exception (throwable) to logpublic boolean isWarnEnabled()
Logger
isWarnEnabled
in interface Logger
public boolean isWarnEnabled(Marker marker)
isWarnEnabled
in interface Logger
marker
- The marker data to take into considerationpublic void warn(java.lang.String msg)
warn
in interface Logger
msg
- the message string to be loggedpublic void warn(java.lang.String format, java.lang.Object arg)
warn
in interface Logger
format
- the format stringarg
- the argumentpublic void warn(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
warn
in interface Logger
format
- the format stringarg1
- the first argumentarg2
- the second argumentpublic void warn(java.lang.String format, java.lang.Object[] argArray)
warn
in interface Logger
format
- the format stringargArray
- an array of argumentspublic void warn(java.lang.String msg, java.lang.Throwable t)
warn
in interface Logger
msg
- the message accompanying the exceptiont
- the exception (throwable) to logpublic void warn(Marker marker, java.lang.String msg)
warn
in interface Logger
marker
- The marker specific to this log statementmsg
- the message string to be loggedpublic void warn(Marker marker, java.lang.String format, java.lang.Object arg)
warn
in interface Logger
marker
- the marker data specific to this log statementformat
- the format stringarg
- the argumentpublic void warn(Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
warn
in interface Logger
marker
- the marker data specific to this log statementformat
- the format stringarg1
- the first argumentarg2
- the second argumentpublic void warn(Marker marker, java.lang.String format, java.lang.Object[] argArray)
warn
in interface Logger
marker
- the marker data specific to this log statementformat
- the format stringargArray
- an array of argumentspublic void warn(Marker marker, java.lang.String msg, java.lang.Throwable t)
warn
in interface Logger
marker
- the marker data for this log statementmsg
- the message accompanying the exceptiont
- the exception (throwable) to logpublic boolean isErrorEnabled()
isErrorEnabled
in interface Logger
public boolean isErrorEnabled(Marker marker)
isErrorEnabled
in interface Logger
marker
- The marker data to take into considerationpublic void error(java.lang.String msg)
error
in interface Logger
msg
- the message string to be loggedpublic void error(java.lang.String format, java.lang.Object arg)
error
in interface Logger
format
- the format stringarg
- the argumentpublic void error(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
error
in interface Logger
format
- the format stringarg1
- the first argumentarg2
- the second argumentpublic void error(java.lang.String format, java.lang.Object[] argArray)
error
in interface Logger
format
- the format stringargArray
- an array of argumentspublic void error(java.lang.String msg, java.lang.Throwable t)
error
in interface Logger
msg
- the message accompanying the exceptiont
- the exception (throwable) to logpublic void error(Marker marker, java.lang.String msg)
error
in interface Logger
marker
- The marker specific to this log statementmsg
- the message string to be loggedpublic void error(Marker marker, java.lang.String format, java.lang.Object arg)
error
in interface Logger
marker
- the marker data specific to this log statementformat
- the format stringarg
- the argumentpublic void error(Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
error
in interface Logger
marker
- the marker data specific to this log statementformat
- the format stringarg1
- the first argumentarg2
- the second argumentpublic void error(Marker marker, java.lang.String format, java.lang.Object[] argArray)
error
in interface Logger
marker
- the marker data specific to this log statementformat
- the format stringargArray
- an array of argumentspublic void error(Marker marker, java.lang.String msg, java.lang.Throwable t)
error
in interface Logger
marker
- the marker data specific to this log statementmsg
- the message accompanying the exceptiont
- the exception (throwable) to logpublic java.lang.String getName()
getName
in interface Logger
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |