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