Package org.slf4j.ext
Class LoggerWrapper
- java.lang.Object
-
- org.slf4j.ext.LoggerWrapper
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
instanceofLAL
protected Logger
logger
-
Fields inherited from interface org.slf4j.Logger
ROOT_LOGGER_NAME
-
-
Constructor Summary
Constructors Constructor Description LoggerWrapper(Logger logger, String fqcn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
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
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... args)
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.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... args)
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.String
getName()
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... args)
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.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... args)
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.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(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... args)
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
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... args)
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
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... args)
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.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... args)
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.
-
-
-
Field Detail
-
logger
protected final Logger logger
-
instanceofLAL
protected final boolean instanceofLAL
-
-
Method Detail
-
isTraceEnabled
public boolean isTraceEnabled()
Delegate to the appropriate method of the underlying logger.- Specified by:
isTraceEnabled
in 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:
isTraceEnabled
in 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(String msg)
Delegate to the appropriate method of the underlying logger.
-
trace
public void trace(String format, Object arg)
Delegate to the appropriate method of the underlying logger.
-
trace
public void trace(String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.
-
trace
public void trace(String format, Object... args)
Delegate to the appropriate method of the underlying logger.
-
trace
public void trace(String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.
-
trace
public void trace(Marker marker, String msg)
Delegate to the appropriate method of the underlying logger.
-
trace
public void trace(Marker marker, String format, Object arg)
Delegate to the appropriate method of the underlying logger.
-
trace
public void trace(Marker marker, String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.
-
trace
public void trace(Marker marker, String format, Object... args)
Delegate to the appropriate method of the underlying logger.
-
trace
public void trace(Marker marker, String msg, 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:
isDebugEnabled
in 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:
isDebugEnabled
in 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(String msg)
Delegate to the appropriate method of the underlying logger.
-
debug
public void debug(String format, Object arg)
Delegate to the appropriate method of the underlying logger.
-
debug
public void debug(String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.
-
debug
public void debug(String format, Object... argArray)
Delegate to the appropriate method of the underlying logger.
-
debug
public void debug(String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.
-
debug
public void debug(Marker marker, String msg)
Delegate to the appropriate method of the underlying logger.
-
debug
public void debug(Marker marker, String format, Object arg)
Delegate to the appropriate method of the underlying logger.
-
debug
public void debug(Marker marker, String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.
-
debug
public void debug(Marker marker, String format, Object... argArray)
Delegate to the appropriate method of the underlying logger.
-
debug
public void debug(Marker marker, String msg, 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:
isInfoEnabled
in 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:
isInfoEnabled
in interfaceLogger
- Parameters:
marker
- The marker data to take into consideration- Returns:
- true if this logger is warn enabled, false otherwise
-
info
public void info(String msg)
Delegate to the appropriate method of the underlying logger.
-
info
public void info(String format, Object arg)
Delegate to the appropriate method of the underlying logger.
-
info
public void info(String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.
-
info
public void info(String format, Object... args)
Delegate to the appropriate method of the underlying logger.
-
info
public void info(String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.
-
info
public void info(Marker marker, String msg)
Delegate to the appropriate method of the underlying logger.
-
info
public void info(Marker marker, String format, Object arg)
Delegate to the appropriate method of the underlying logger.
-
info
public void info(Marker marker, String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.
-
info
public void info(Marker marker, String format, Object... args)
Delegate to the appropriate method of the underlying logger.
-
info
public void info(Marker marker, String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.
-
isWarnEnabled
public boolean isWarnEnabled()
Description copied from interface:Logger
Is the logger instance enabled for the WARN level?- Specified by:
isWarnEnabled
in 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:
isWarnEnabled
in 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(String msg)
Delegate to the appropriate method of the underlying logger.
-
warn
public void warn(String format, Object arg)
Delegate to the appropriate method of the underlying logger.
-
warn
public void warn(String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.
-
warn
public void warn(String format, Object... args)
Delegate to the appropriate method of the underlying logger.
-
warn
public void warn(String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.
-
warn
public void warn(Marker marker, String msg)
Delegate to the appropriate method of the underlying logger.
-
warn
public void warn(Marker marker, String format, Object arg)
Delegate to the appropriate method of the underlying logger.
-
warn
public void warn(Marker marker, String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.
-
warn
public void warn(Marker marker, String format, Object... args)
Delegate to the appropriate method of the underlying logger.
-
warn
public void warn(Marker marker, String msg, 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:
isErrorEnabled
in 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:
isErrorEnabled
in 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(String msg)
Delegate to the appropriate method of the underlying logger.
-
error
public void error(String format, Object arg)
Delegate to the appropriate method of the underlying logger.
-
error
public void error(String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.
-
error
public void error(String format, Object... args)
Delegate to the appropriate method of the underlying logger.
-
error
public void error(String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.
-
error
public void error(Marker marker, String msg)
Delegate to the appropriate method of the underlying logger.
-
error
public void error(Marker marker, String format, Object arg)
Delegate to the appropriate method of the underlying logger.
-
error
public void error(Marker marker, String format, Object arg1, Object arg2)
Delegate to the appropriate method of the underlying logger.
-
error
public void error(Marker marker, String format, Object... args)
Delegate to the appropriate method of the underlying logger.
-
error
public void error(Marker marker, String msg, Throwable t)
Delegate to the appropriate method of the underlying logger.
-
-