|
||||||||||
| 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()
|
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 Loggerpublic void trace(String msg)
trace in interface Logger
public void trace(String format,
Object arg)
trace in interface Logger
public void trace(String format,
Object arg1,
Object arg2)
trace in interface Logger
public void trace(String format,
Object... args)
trace in interface Logger
public void trace(String msg,
Throwable t)
trace in interface Logger
public void trace(Marker marker,
String msg)
trace in interface Logger
public void trace(Marker marker,
String format,
Object arg)
trace in interface Logger
public void trace(Marker marker,
String format,
Object arg1,
Object arg2)
trace in interface Logger
public void trace(Marker marker,
String format,
Object... args)
trace in interface Logger
public void trace(Marker marker,
String msg,
Throwable t)
trace in interface Loggerpublic boolean isDebugEnabled()
isDebugEnabled in interface Loggerpublic boolean isDebugEnabled(Marker marker)
isDebugEnabled in interface Loggerpublic void debug(String msg)
debug in interface Logger
public void debug(String format,
Object arg)
debug in interface Logger
public void debug(String format,
Object arg1,
Object arg2)
debug in interface Logger
public void debug(String format,
Object... argArray)
debug in interface Logger
public void debug(String msg,
Throwable t)
debug in interface Logger
public void debug(Marker marker,
String msg)
debug in interface Logger
public void debug(Marker marker,
String format,
Object arg)
debug in interface Logger
public void debug(Marker marker,
String format,
Object arg1,
Object arg2)
debug in interface Logger
public void debug(Marker marker,
String format,
Object... argArray)
debug in interface Logger
public void debug(Marker marker,
String msg,
Throwable t)
debug in interface Loggerpublic boolean isInfoEnabled()
isInfoEnabled in interface Loggerpublic boolean isInfoEnabled(Marker marker)
isInfoEnabled in interface Loggerpublic void info(String msg)
info in interface Logger
public void info(String format,
Object arg)
info in interface Logger
public void info(String format,
Object arg1,
Object arg2)
info in interface Logger
public void info(String format,
Object... args)
info in interface Logger
public void info(String msg,
Throwable t)
info in interface Logger
public void info(Marker marker,
String msg)
info in interface Logger
public void info(Marker marker,
String format,
Object arg)
info in interface Logger
public void info(Marker marker,
String format,
Object arg1,
Object arg2)
info in interface Logger
public void info(Marker marker,
String format,
Object... args)
info in interface Logger
public void info(Marker marker,
String msg,
Throwable t)
info in interface Loggerpublic boolean isWarnEnabled()
isWarnEnabled in interface Loggerpublic boolean isWarnEnabled(Marker marker)
isWarnEnabled in interface Loggerpublic void warn(String msg)
warn in interface Logger
public void warn(String format,
Object arg)
warn in interface Logger
public void warn(String format,
Object arg1,
Object arg2)
warn in interface Logger
public void warn(String format,
Object... args)
warn in interface Logger
public void warn(String msg,
Throwable t)
warn in interface Logger
public void warn(Marker marker,
String msg)
warn in interface Logger
public void warn(Marker marker,
String format,
Object arg)
warn in interface Logger
public void warn(Marker marker,
String format,
Object arg1,
Object arg2)
warn in interface Logger
public void warn(Marker marker,
String format,
Object... args)
warn in interface Logger
public void warn(Marker marker,
String msg,
Throwable t)
warn in interface Loggerpublic boolean isErrorEnabled()
isErrorEnabled in interface Loggerpublic boolean isErrorEnabled(Marker marker)
isErrorEnabled in interface Loggerpublic void error(String msg)
error in interface Logger
public void error(String format,
Object arg)
error in interface Logger
public void error(String format,
Object arg1,
Object arg2)
error in interface Logger
public void error(String format,
Object... args)
error in interface Logger
public void error(String msg,
Throwable t)
error in interface Logger
public void error(Marker marker,
String msg)
error in interface Logger
public void error(Marker marker,
String format,
Object arg)
error in interface Logger
public void error(Marker marker,
String format,
Object arg1,
Object arg2)
error in interface Logger
public void error(Marker marker,
String format,
Object... args)
error in interface Logger
public void error(Marker marker,
String msg,
Throwable t)
error in interface Loggerpublic String getName()
getName in interface Logger
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||