Package org.slf4j.ext
Class LoggerWrapper
- java.lang.Object
-
- org.slf4j.ext.LoggerWrapper
-
- All Implemented Interfaces:
org.slf4j.Logger
public class LoggerWrapper extends java.lang.Object implements org.slf4j.Logger
A helper class wrapping anLoggerinstance preserving location information if the wrapped instance supports it.- Author:
- Ralph Goers, Ceki Gülcü
-
-
Field Summary
Fields Modifier and Type Field Description protected booleaninstanceofLALprotected org.slf4j.Loggerlogger
-
Constructor Summary
Constructors Constructor Description LoggerWrapper(org.slf4j.Logger logger, java.lang.String fqcn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(java.lang.String msg)Delegate to the appropriate method of the underlying logger.voiddebug(java.lang.String format, java.lang.Object arg)Delegate to the appropriate method of the underlying logger.voiddebug(java.lang.String format, java.lang.Object... argArray)Delegate to the appropriate method of the underlying logger.voiddebug(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)Delegate to the appropriate method of the underlying logger.voiddebug(java.lang.String msg, java.lang.Throwable t)Delegate to the appropriate method of the underlying logger.voiddebug(org.slf4j.Marker marker, java.lang.String msg)Delegate to the appropriate method of the underlying logger.voiddebug(org.slf4j.Marker marker, java.lang.String format, java.lang.Object arg)Delegate to the appropriate method of the underlying logger.voiddebug(org.slf4j.Marker marker, java.lang.String format, java.lang.Object... argArray)Delegate to the appropriate method of the underlying logger.voiddebug(org.slf4j.Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)Delegate to the appropriate method of the underlying logger.voiddebug(org.slf4j.Marker marker, java.lang.String msg, java.lang.Throwable t)Delegate to the appropriate method of the underlying logger.voiderror(java.lang.String msg)Delegate to the appropriate method of the underlying logger.voiderror(java.lang.String format, java.lang.Object arg)Delegate to the appropriate method of the underlying logger.voiderror(java.lang.String format, java.lang.Object... args)Delegate to the appropriate method of the underlying logger.voiderror(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)Delegate to the appropriate method of the underlying logger.voiderror(java.lang.String msg, java.lang.Throwable t)Delegate to the appropriate method of the underlying logger.voiderror(org.slf4j.Marker marker, java.lang.String msg)Delegate to the appropriate method of the underlying logger.voiderror(org.slf4j.Marker marker, java.lang.String format, java.lang.Object arg)Delegate to the appropriate method of the underlying logger.voiderror(org.slf4j.Marker marker, java.lang.String format, java.lang.Object... args)Delegate to the appropriate method of the underlying logger.voiderror(org.slf4j.Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)Delegate to the appropriate method of the underlying logger.voiderror(org.slf4j.Marker marker, java.lang.String msg, java.lang.Throwable t)Delegate to the appropriate method of the underlying logger.java.lang.StringgetName()Delegate to the appropriate method of the underlying logger.voidinfo(java.lang.String msg)Delegate to the appropriate method of the underlying logger.voidinfo(java.lang.String format, java.lang.Object arg)Delegate to the appropriate method of the underlying logger.voidinfo(java.lang.String format, java.lang.Object... args)Delegate to the appropriate method of the underlying logger.voidinfo(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)Delegate to the appropriate method of the underlying logger.voidinfo(java.lang.String msg, java.lang.Throwable t)Delegate to the appropriate method of the underlying logger.voidinfo(org.slf4j.Marker marker, java.lang.String msg)Delegate to the appropriate method of the underlying logger.voidinfo(org.slf4j.Marker marker, java.lang.String format, java.lang.Object arg)Delegate to the appropriate method of the underlying logger.voidinfo(org.slf4j.Marker marker, java.lang.String format, java.lang.Object... args)Delegate to the appropriate method of the underlying logger.voidinfo(org.slf4j.Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)Delegate to the appropriate method of the underlying logger.voidinfo(org.slf4j.Marker marker, java.lang.String msg, java.lang.Throwable t)Delegate to the appropriate method of the underlying logger.booleanisDebugEnabled()Delegate to the appropriate method of the underlying logger.booleanisDebugEnabled(org.slf4j.Marker marker)Delegate to the appropriate method of the underlying logger.booleanisErrorEnabled()Delegate to the appropriate method of the underlying logger.booleanisErrorEnabled(org.slf4j.Marker marker)Delegate to the appropriate method of the underlying logger.booleanisInfoEnabled()Delegate to the appropriate method of the underlying logger.booleanisInfoEnabled(org.slf4j.Marker marker)Delegate to the appropriate method of the underlying logger.booleanisTraceEnabled()Delegate to the appropriate method of the underlying logger.booleanisTraceEnabled(org.slf4j.Marker marker)Delegate to the appropriate method of the underlying logger.booleanisWarnEnabled()booleanisWarnEnabled(org.slf4j.Marker marker)Delegate to the appropriate method of the underlying logger.voidtrace(java.lang.String msg)Delegate to the appropriate method of the underlying logger.voidtrace(java.lang.String format, java.lang.Object arg)Delegate to the appropriate method of the underlying logger.voidtrace(java.lang.String format, java.lang.Object... args)Delegate to the appropriate method of the underlying logger.voidtrace(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)Delegate to the appropriate method of the underlying logger.voidtrace(java.lang.String msg, java.lang.Throwable t)Delegate to the appropriate method of the underlying logger.voidtrace(org.slf4j.Marker marker, java.lang.String msg)Delegate to the appropriate method of the underlying logger.voidtrace(org.slf4j.Marker marker, java.lang.String format, java.lang.Object arg)Delegate to the appropriate method of the underlying logger.voidtrace(org.slf4j.Marker marker, java.lang.String format, java.lang.Object... args)Delegate to the appropriate method of the underlying logger.voidtrace(org.slf4j.Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)Delegate to the appropriate method of the underlying logger.voidtrace(org.slf4j.Marker marker, java.lang.String msg, java.lang.Throwable t)Delegate to the appropriate method of the underlying logger.voidwarn(java.lang.String msg)Delegate to the appropriate method of the underlying logger.voidwarn(java.lang.String format, java.lang.Object arg)Delegate to the appropriate method of the underlying logger.voidwarn(java.lang.String format, java.lang.Object... args)Delegate to the appropriate method of the underlying logger.voidwarn(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)Delegate to the appropriate method of the underlying logger.voidwarn(java.lang.String msg, java.lang.Throwable t)Delegate to the appropriate method of the underlying logger.voidwarn(org.slf4j.Marker marker, java.lang.String msg)Delegate to the appropriate method of the underlying logger.voidwarn(org.slf4j.Marker marker, java.lang.String format, java.lang.Object arg)Delegate to the appropriate method of the underlying logger.voidwarn(org.slf4j.Marker marker, java.lang.String format, java.lang.Object... args)Delegate to the appropriate method of the underlying logger.voidwarn(org.slf4j.Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)Delegate to the appropriate method of the underlying logger.voidwarn(org.slf4j.Marker marker, java.lang.String msg, java.lang.Throwable t)Delegate to the appropriate method of the underlying logger.
-
-
-
Field Detail
-
logger
protected final org.slf4j.Logger logger
-
instanceofLAL
protected final boolean instanceofLAL
-
-
Constructor Detail
-
LoggerWrapper
public LoggerWrapper(org.slf4j.Logger logger, java.lang.String fqcn)
-
-
Method Detail
-
isTraceEnabled
public boolean isTraceEnabled()
Delegate to the appropriate method of the underlying logger.- Specified by:
isTraceEnabledin interfaceorg.slf4j.Logger
-
isTraceEnabled
public boolean isTraceEnabled(org.slf4j.Marker marker)
Delegate to the appropriate method of the underlying logger.- Specified by:
isTraceEnabledin interfaceorg.slf4j.Logger
-
trace
public void trace(java.lang.String msg)
Delegate to the appropriate method of the underlying logger.- Specified by:
tracein interfaceorg.slf4j.Logger
-
trace
public void trace(java.lang.String format, java.lang.Object arg)
Delegate to the appropriate method of the underlying logger.- Specified by:
tracein interfaceorg.slf4j.Logger
-
trace
public void trace(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
Delegate to the appropriate method of the underlying logger.- Specified by:
tracein interfaceorg.slf4j.Logger
-
trace
public void trace(java.lang.String format, java.lang.Object... args)
Delegate to the appropriate method of the underlying logger.- Specified by:
tracein interfaceorg.slf4j.Logger
-
trace
public void trace(java.lang.String msg, java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger.- Specified by:
tracein interfaceorg.slf4j.Logger
-
trace
public void trace(org.slf4j.Marker marker, java.lang.String msg)
Delegate to the appropriate method of the underlying logger.- Specified by:
tracein interfaceorg.slf4j.Logger
-
trace
public void trace(org.slf4j.Marker marker, java.lang.String format, java.lang.Object arg)
Delegate to the appropriate method of the underlying logger.- Specified by:
tracein interfaceorg.slf4j.Logger
-
trace
public void trace(org.slf4j.Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
Delegate to the appropriate method of the underlying logger.- Specified by:
tracein interfaceorg.slf4j.Logger
-
trace
public void trace(org.slf4j.Marker marker, java.lang.String format, java.lang.Object... args)
Delegate to the appropriate method of the underlying logger.- Specified by:
tracein interfaceorg.slf4j.Logger
-
trace
public void trace(org.slf4j.Marker marker, java.lang.String msg, java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger.- Specified by:
tracein interfaceorg.slf4j.Logger
-
isDebugEnabled
public boolean isDebugEnabled()
Delegate to the appropriate method of the underlying logger.- Specified by:
isDebugEnabledin interfaceorg.slf4j.Logger
-
isDebugEnabled
public boolean isDebugEnabled(org.slf4j.Marker marker)
Delegate to the appropriate method of the underlying logger.- Specified by:
isDebugEnabledin interfaceorg.slf4j.Logger
-
debug
public void debug(java.lang.String msg)
Delegate to the appropriate method of the underlying logger.- Specified by:
debugin interfaceorg.slf4j.Logger
-
debug
public void debug(java.lang.String format, java.lang.Object arg)
Delegate to the appropriate method of the underlying logger.- Specified by:
debugin interfaceorg.slf4j.Logger
-
debug
public void debug(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
Delegate to the appropriate method of the underlying logger.- Specified by:
debugin interfaceorg.slf4j.Logger
-
debug
public void debug(java.lang.String format, java.lang.Object... argArray)
Delegate to the appropriate method of the underlying logger.- Specified by:
debugin interfaceorg.slf4j.Logger
-
debug
public void debug(java.lang.String msg, java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger.- Specified by:
debugin interfaceorg.slf4j.Logger
-
debug
public void debug(org.slf4j.Marker marker, java.lang.String msg)
Delegate to the appropriate method of the underlying logger.- Specified by:
debugin interfaceorg.slf4j.Logger
-
debug
public void debug(org.slf4j.Marker marker, java.lang.String format, java.lang.Object arg)
Delegate to the appropriate method of the underlying logger.- Specified by:
debugin interfaceorg.slf4j.Logger
-
debug
public void debug(org.slf4j.Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
Delegate to the appropriate method of the underlying logger.- Specified by:
debugin interfaceorg.slf4j.Logger
-
debug
public void debug(org.slf4j.Marker marker, java.lang.String format, java.lang.Object... argArray)
Delegate to the appropriate method of the underlying logger.- Specified by:
debugin interfaceorg.slf4j.Logger
-
debug
public void debug(org.slf4j.Marker marker, java.lang.String msg, java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger.- Specified by:
debugin interfaceorg.slf4j.Logger
-
isInfoEnabled
public boolean isInfoEnabled()
Delegate to the appropriate method of the underlying logger.- Specified by:
isInfoEnabledin interfaceorg.slf4j.Logger
-
isInfoEnabled
public boolean isInfoEnabled(org.slf4j.Marker marker)
Delegate to the appropriate method of the underlying logger.- Specified by:
isInfoEnabledin interfaceorg.slf4j.Logger
-
info
public void info(java.lang.String msg)
Delegate to the appropriate method of the underlying logger.- Specified by:
infoin interfaceorg.slf4j.Logger
-
info
public void info(java.lang.String format, java.lang.Object arg)
Delegate to the appropriate method of the underlying logger.- Specified by:
infoin interfaceorg.slf4j.Logger
-
info
public void info(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
Delegate to the appropriate method of the underlying logger.- Specified by:
infoin interfaceorg.slf4j.Logger
-
info
public void info(java.lang.String format, java.lang.Object... args)
Delegate to the appropriate method of the underlying logger.- Specified by:
infoin interfaceorg.slf4j.Logger
-
info
public void info(java.lang.String msg, java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger.- Specified by:
infoin interfaceorg.slf4j.Logger
-
info
public void info(org.slf4j.Marker marker, java.lang.String msg)
Delegate to the appropriate method of the underlying logger.- Specified by:
infoin interfaceorg.slf4j.Logger
-
info
public void info(org.slf4j.Marker marker, java.lang.String format, java.lang.Object arg)
Delegate to the appropriate method of the underlying logger.- Specified by:
infoin interfaceorg.slf4j.Logger
-
info
public void info(org.slf4j.Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
Delegate to the appropriate method of the underlying logger.- Specified by:
infoin interfaceorg.slf4j.Logger
-
info
public void info(org.slf4j.Marker marker, java.lang.String format, java.lang.Object... args)
Delegate to the appropriate method of the underlying logger.- Specified by:
infoin interfaceorg.slf4j.Logger
-
info
public void info(org.slf4j.Marker marker, java.lang.String msg, java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger.- Specified by:
infoin interfaceorg.slf4j.Logger
-
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabledin interfaceorg.slf4j.Logger
-
isWarnEnabled
public boolean isWarnEnabled(org.slf4j.Marker marker)
Delegate to the appropriate method of the underlying logger.- Specified by:
isWarnEnabledin interfaceorg.slf4j.Logger
-
warn
public void warn(java.lang.String msg)
Delegate to the appropriate method of the underlying logger.- Specified by:
warnin interfaceorg.slf4j.Logger
-
warn
public void warn(java.lang.String format, java.lang.Object arg)
Delegate to the appropriate method of the underlying logger.- Specified by:
warnin interfaceorg.slf4j.Logger
-
warn
public void warn(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
Delegate to the appropriate method of the underlying logger.- Specified by:
warnin interfaceorg.slf4j.Logger
-
warn
public void warn(java.lang.String format, java.lang.Object... args)
Delegate to the appropriate method of the underlying logger.- Specified by:
warnin interfaceorg.slf4j.Logger
-
warn
public void warn(java.lang.String msg, java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger.- Specified by:
warnin interfaceorg.slf4j.Logger
-
warn
public void warn(org.slf4j.Marker marker, java.lang.String msg)
Delegate to the appropriate method of the underlying logger.- Specified by:
warnin interfaceorg.slf4j.Logger
-
warn
public void warn(org.slf4j.Marker marker, java.lang.String format, java.lang.Object arg)
Delegate to the appropriate method of the underlying logger.- Specified by:
warnin interfaceorg.slf4j.Logger
-
warn
public void warn(org.slf4j.Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
Delegate to the appropriate method of the underlying logger.- Specified by:
warnin interfaceorg.slf4j.Logger
-
warn
public void warn(org.slf4j.Marker marker, java.lang.String format, java.lang.Object... args)
Delegate to the appropriate method of the underlying logger.- Specified by:
warnin interfaceorg.slf4j.Logger
-
warn
public void warn(org.slf4j.Marker marker, java.lang.String msg, java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger.- Specified by:
warnin interfaceorg.slf4j.Logger
-
isErrorEnabled
public boolean isErrorEnabled()
Delegate to the appropriate method of the underlying logger.- Specified by:
isErrorEnabledin interfaceorg.slf4j.Logger
-
isErrorEnabled
public boolean isErrorEnabled(org.slf4j.Marker marker)
Delegate to the appropriate method of the underlying logger.- Specified by:
isErrorEnabledin interfaceorg.slf4j.Logger
-
error
public void error(java.lang.String msg)
Delegate to the appropriate method of the underlying logger.- Specified by:
errorin interfaceorg.slf4j.Logger
-
error
public void error(java.lang.String format, java.lang.Object arg)
Delegate to the appropriate method of the underlying logger.- Specified by:
errorin interfaceorg.slf4j.Logger
-
error
public void error(java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
Delegate to the appropriate method of the underlying logger.- Specified by:
errorin interfaceorg.slf4j.Logger
-
error
public void error(java.lang.String format, java.lang.Object... args)
Delegate to the appropriate method of the underlying logger.- Specified by:
errorin interfaceorg.slf4j.Logger
-
error
public void error(java.lang.String msg, java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger.- Specified by:
errorin interfaceorg.slf4j.Logger
-
error
public void error(org.slf4j.Marker marker, java.lang.String msg)
Delegate to the appropriate method of the underlying logger.- Specified by:
errorin interfaceorg.slf4j.Logger
-
error
public void error(org.slf4j.Marker marker, java.lang.String format, java.lang.Object arg)
Delegate to the appropriate method of the underlying logger.- Specified by:
errorin interfaceorg.slf4j.Logger
-
error
public void error(org.slf4j.Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)
Delegate to the appropriate method of the underlying logger.- Specified by:
errorin interfaceorg.slf4j.Logger
-
error
public void error(org.slf4j.Marker marker, java.lang.String format, java.lang.Object... args)
Delegate to the appropriate method of the underlying logger.- Specified by:
errorin interfaceorg.slf4j.Logger
-
error
public void error(org.slf4j.Marker marker, java.lang.String msg, java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger.- Specified by:
errorin interfaceorg.slf4j.Logger
-
getName
public java.lang.String getName()
Delegate to the appropriate method of the underlying logger.- Specified by:
getNamein interfaceorg.slf4j.Logger
-
-