Package org.slf4j.ext
Class LoggerWrapper
- java.lang.Object
-
- org.slf4j.ext.LoggerWrapper
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.Stringfqcnprotected booleaninstanceofLALprotected Loggerlogger-
Fields inherited from interface org.slf4j.Logger
ROOT_LOGGER_NAME
-
-
Constructor Summary
Constructors Constructor Description LoggerWrapper(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(Marker marker, java.lang.String msg)Delegate to the appropriate method of the underlying logger.voiddebug(Marker marker, java.lang.String format, java.lang.Object arg)Delegate to the appropriate method of the underlying logger.voiddebug(Marker marker, java.lang.String format, java.lang.Object... argArray)Delegate to the appropriate method of the underlying logger.voiddebug(Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)Delegate to the appropriate method of the underlying logger.voiddebug(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(Marker marker, java.lang.String msg)Delegate to the appropriate method of the underlying logger.voiderror(Marker marker, java.lang.String format, java.lang.Object arg)Delegate to the appropriate method of the underlying logger.voiderror(Marker marker, java.lang.String format, java.lang.Object... args)Delegate to the appropriate method of the underlying logger.voiderror(Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)Delegate to the appropriate method of the underlying logger.voiderror(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(Marker marker, java.lang.String msg)Delegate to the appropriate method of the underlying logger.voidinfo(Marker marker, java.lang.String format, java.lang.Object arg)Delegate to the appropriate method of the underlying logger.voidinfo(Marker marker, java.lang.String format, java.lang.Object... args)Delegate to the appropriate method of the underlying logger.voidinfo(Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)Delegate to the appropriate method of the underlying logger.voidinfo(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(Marker marker)Delegate to the appropriate method of the underlying logger.booleanisErrorEnabled()Delegate to the appropriate method of the underlying logger.booleanisErrorEnabled(Marker marker)Delegate to the appropriate method of the underlying logger.booleanisInfoEnabled()Delegate to the appropriate method of the underlying logger.booleanisInfoEnabled(Marker marker)Delegate to the appropriate method of the underlying logger.booleanisTraceEnabled()Delegate to the appropriate method of the underlying logger.booleanisTraceEnabled(Marker marker)Delegate to the appropriate method of the underlying logger.booleanisWarnEnabled()Is the logger instance enabled for the WARN level?booleanisWarnEnabled(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(Marker marker, java.lang.String msg)Delegate to the appropriate method of the underlying logger.voidtrace(Marker marker, java.lang.String format, java.lang.Object arg)Delegate to the appropriate method of the underlying logger.voidtrace(Marker marker, java.lang.String format, java.lang.Object... args)Delegate to the appropriate method of the underlying logger.voidtrace(Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)Delegate to the appropriate method of the underlying logger.voidtrace(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(Marker marker, java.lang.String msg)Delegate to the appropriate method of the underlying logger.voidwarn(Marker marker, java.lang.String format, java.lang.Object arg)Delegate to the appropriate method of the underlying logger.voidwarn(Marker marker, java.lang.String format, java.lang.Object... args)Delegate to the appropriate method of the underlying logger.voidwarn(Marker marker, java.lang.String format, java.lang.Object arg1, java.lang.Object arg2)Delegate to the appropriate method of the underlying logger.voidwarn(Marker marker, java.lang.String msg, java.lang.Throwable t)Delegate to the appropriate method of the underlying logger.
-
-
-
Field Detail
-
logger
protected final Logger logger
-
fqcn
final java.lang.String fqcn
-
instanceofLAL
protected final boolean instanceofLAL
-
-
Constructor Detail
-
LoggerWrapper
public LoggerWrapper(Logger logger, java.lang.String fqcn)
-
-
Method Detail
-
isTraceEnabled
public boolean isTraceEnabled()
Delegate to the appropriate method of the underlying logger.- Specified by:
isTraceEnabledin interfaceLogger- Returns:
- True if this Logger is enabled for the TRACE level, false otherwise.
-
isTraceEnabled
public boolean isTraceEnabled(Marker marker)
Delegate to the appropriate method of the underlying logger.- Specified by:
isTraceEnabledin interfaceLogger- Parameters:
marker- The marker data to take into consideration- Returns:
- True if this Logger is enabled for the TRACE level, false otherwise.
-
trace
public void trace(java.lang.String msg)
Delegate to the appropriate method of the underlying logger.
-
trace
public void trace(java.lang.String format, java.lang.Object arg)Delegate to the appropriate method of the underlying 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.
-
trace
public void trace(java.lang.String format, java.lang.Object... args)Delegate to the appropriate method of the underlying logger.
-
trace
public void trace(java.lang.String msg, java.lang.Throwable t)Delegate to the appropriate method of the underlying logger.
-
trace
public void trace(Marker marker, java.lang.String msg)
Delegate to the appropriate method of the underlying logger.
-
trace
public void trace(Marker marker, java.lang.String format, java.lang.Object arg)
Delegate to the appropriate method of the underlying logger.
-
trace
public 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.
-
trace
public void trace(Marker marker, java.lang.String format, java.lang.Object... args)
Delegate to the appropriate method of the underlying logger.
-
trace
public void trace(Marker marker, java.lang.String msg, java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger.
-
isDebugEnabled
public boolean isDebugEnabled()
Delegate to the appropriate method of the underlying logger.- Specified by:
isDebugEnabledin interfaceLogger- Returns:
- True if this Logger is enabled for the DEBUG level, false otherwise.
-
isDebugEnabled
public boolean isDebugEnabled(Marker marker)
Delegate to the appropriate method of the underlying logger.- Specified by:
isDebugEnabledin interfaceLogger- Parameters:
marker- The marker data to take into consideration- Returns:
- True if this Logger is enabled for the DEBUG level, false otherwise.
-
debug
public void debug(java.lang.String msg)
Delegate to the appropriate method of the underlying logger.
-
debug
public void debug(java.lang.String format, java.lang.Object arg)Delegate to the appropriate method of the underlying 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.
-
debug
public void debug(java.lang.String format, java.lang.Object... argArray)Delegate to the appropriate method of the underlying logger.
-
debug
public void debug(java.lang.String msg, java.lang.Throwable t)Delegate to the appropriate method of the underlying logger.
-
debug
public void debug(Marker marker, java.lang.String msg)
Delegate to the appropriate method of the underlying logger.
-
debug
public void debug(Marker marker, java.lang.String format, java.lang.Object arg)
Delegate to the appropriate method of the underlying logger.
-
debug
public 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.
-
debug
public void debug(Marker marker, java.lang.String format, java.lang.Object... argArray)
Delegate to the appropriate method of the underlying logger.
-
debug
public void debug(Marker marker, java.lang.String msg, java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger.
-
isInfoEnabled
public boolean isInfoEnabled()
Delegate to the appropriate method of the underlying logger.- Specified by:
isInfoEnabledin interfaceLogger- Returns:
- True if this Logger is enabled for the INFO level, false otherwise.
-
isInfoEnabled
public boolean isInfoEnabled(Marker marker)
Delegate to the appropriate method of the underlying logger.- Specified by:
isInfoEnabledin interfaceLogger- Parameters:
marker- The marker data to take into consideration- Returns:
- true if this logger is warn enabled, false otherwise
-
info
public void info(java.lang.String msg)
Delegate to the appropriate method of the underlying logger.
-
info
public void info(java.lang.String format, java.lang.Object arg)Delegate to the appropriate method of the underlying 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.
-
info
public void info(java.lang.String format, java.lang.Object... args)Delegate to the appropriate method of the underlying logger.
-
info
public void info(java.lang.String msg, java.lang.Throwable t)Delegate to the appropriate method of the underlying logger.
-
info
public void info(Marker marker, java.lang.String msg)
Delegate to the appropriate method of the underlying logger.
-
info
public void info(Marker marker, java.lang.String format, java.lang.Object arg)
Delegate to the appropriate method of the underlying logger.
-
info
public 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.
-
info
public void info(Marker marker, java.lang.String format, java.lang.Object... args)
Delegate to the appropriate method of the underlying logger.
-
info
public void info(Marker marker, java.lang.String msg, java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger.
-
isWarnEnabled
public boolean isWarnEnabled()
Description copied from interface:LoggerIs the logger instance enabled for the WARN level?- Specified by:
isWarnEnabledin interfaceLogger- Returns:
- True if this Logger is enabled for the WARN level, false otherwise.
-
isWarnEnabled
public boolean isWarnEnabled(Marker marker)
Delegate to the appropriate method of the underlying logger.- Specified by:
isWarnEnabledin interfaceLogger- Parameters:
marker- The marker data to take into consideration- Returns:
- True if this Logger is enabled for the WARN level, false otherwise.
-
warn
public void warn(java.lang.String msg)
Delegate to the appropriate method of the underlying logger.
-
warn
public void warn(java.lang.String format, java.lang.Object arg)Delegate to the appropriate method of the underlying 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.
-
warn
public void warn(java.lang.String format, java.lang.Object... args)Delegate to the appropriate method of the underlying logger.
-
warn
public void warn(java.lang.String msg, java.lang.Throwable t)Delegate to the appropriate method of the underlying logger.
-
warn
public void warn(Marker marker, java.lang.String msg)
Delegate to the appropriate method of the underlying logger.
-
warn
public void warn(Marker marker, java.lang.String format, java.lang.Object arg)
Delegate to the appropriate method of the underlying logger.
-
warn
public 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.
-
warn
public void warn(Marker marker, java.lang.String format, java.lang.Object... args)
Delegate to the appropriate method of the underlying logger.
-
warn
public void warn(Marker marker, java.lang.String msg, java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger.
-
isErrorEnabled
public boolean isErrorEnabled()
Delegate to the appropriate method of the underlying logger.- Specified by:
isErrorEnabledin interfaceLogger- Returns:
- True if this Logger is enabled for the ERROR level, false otherwise.
-
isErrorEnabled
public boolean isErrorEnabled(Marker marker)
Delegate to the appropriate method of the underlying logger.- Specified by:
isErrorEnabledin interfaceLogger- Parameters:
marker- The marker data to take into consideration- Returns:
- True if this Logger is enabled for the ERROR level, false otherwise.
-
error
public void error(java.lang.String msg)
Delegate to the appropriate method of the underlying logger.
-
error
public void error(java.lang.String format, java.lang.Object arg)Delegate to the appropriate method of the underlying 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.
-
error
public void error(java.lang.String format, java.lang.Object... args)Delegate to the appropriate method of the underlying logger.
-
error
public void error(java.lang.String msg, java.lang.Throwable t)Delegate to the appropriate method of the underlying logger.
-
error
public void error(Marker marker, java.lang.String msg)
Delegate to the appropriate method of the underlying logger.
-
error
public void error(Marker marker, java.lang.String format, java.lang.Object arg)
Delegate to the appropriate method of the underlying logger.
-
error
public 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.
-
error
public void error(Marker marker, java.lang.String format, java.lang.Object... args)
Delegate to the appropriate method of the underlying logger.
-
error
public void error(Marker marker, java.lang.String msg, java.lang.Throwable t)
Delegate to the appropriate method of the underlying logger.
-
-