Package org.slf4j.ext
Class LoggerWrapper
java.lang.Object
org.slf4j.ext.LoggerWrapper
- All Implemented Interfaces:
Logger
A helper class wrapping an
Logger
instance preserving
location information if the wrapped instance supports it.- Author:
- Ralph Goers, Ceki Gülcü
-
Field Summary
Fields inherited from interface org.slf4j.Logger
ROOT_LOGGER_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.getName()
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.boolean
Delegate to the appropriate method of the underlying logger.boolean
isDebugEnabled
(Marker marker) Delegate to the appropriate method of the underlying logger.boolean
Delegate to the appropriate method of the underlying logger.boolean
isErrorEnabled
(Marker marker) Delegate to the appropriate method of the underlying logger.boolean
Delegate to the appropriate method of the underlying logger.boolean
isInfoEnabled
(Marker marker) Delegate to the appropriate method of the underlying logger.boolean
Delegate to the appropriate method of the underlying logger.boolean
isTraceEnabled
(Marker marker) Delegate to the appropriate method of the underlying logger.boolean
Is the logger instance enabled for the WARN level?boolean
isWarnEnabled
(Marker marker) Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
Delegate to the appropriate method of the underlying logger.void
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
Methods inherited from interface org.slf4j.Logger
atDebug, atError, atInfo, atLevel, atTrace, atWarn, isEnabledForLevel, makeLoggingEventBuilder
-
Field Details
-
logger
-
instanceofLAL
-
-
Constructor Details
-
LoggerWrapper
-
-
Method Details
-
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
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
Delegate to the appropriate method of the underlying logger. -
trace
Delegate to the appropriate method of the underlying logger. -
trace
Delegate to the appropriate method of the underlying logger. -
trace
Delegate to the appropriate method of the underlying logger. -
trace
Delegate to the appropriate method of the underlying logger. -
trace
Delegate to the appropriate method of the underlying logger. -
trace
Delegate to the appropriate method of the underlying logger. -
trace
Delegate to the appropriate method of the underlying logger. -
trace
Delegate to the appropriate method of the underlying logger. -
trace
Delegate to the appropriate method of the underlying logger. -
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
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
Delegate to the appropriate method of the underlying logger. -
debug
Delegate to the appropriate method of the underlying logger. -
debug
Delegate to the appropriate method of the underlying logger. -
debug
Delegate to the appropriate method of the underlying logger. -
debug
Delegate to the appropriate method of the underlying logger. -
debug
Delegate to the appropriate method of the underlying logger. -
debug
Delegate to the appropriate method of the underlying logger. -
debug
Delegate to the appropriate method of the underlying logger. -
debug
Delegate to the appropriate method of the underlying logger. -
debug
Delegate to the appropriate method of the underlying logger. -
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
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 enabled for the INFO level, false otherwise.
-
info
Delegate to the appropriate method of the underlying logger. -
info
Delegate to the appropriate method of the underlying logger. -
info
Delegate to the appropriate method of the underlying logger. -
info
Delegate to the appropriate method of the underlying logger. -
info
Delegate to the appropriate method of the underlying logger. -
info
Delegate to the appropriate method of the underlying logger. -
info
Delegate to the appropriate method of the underlying logger. -
info
Delegate to the appropriate method of the underlying logger. -
info
Delegate to the appropriate method of the underlying logger. -
info
Delegate to the appropriate method of the underlying logger. -
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
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
Delegate to the appropriate method of the underlying logger. -
warn
Delegate to the appropriate method of the underlying logger. -
warn
Delegate to the appropriate method of the underlying logger. -
warn
Delegate to the appropriate method of the underlying logger. -
warn
Delegate to the appropriate method of the underlying logger. -
warn
Delegate to the appropriate method of the underlying logger. -
warn
Delegate to the appropriate method of the underlying logger. -
warn
Delegate to the appropriate method of the underlying logger. -
warn
Delegate to the appropriate method of the underlying logger. -
warn
Delegate to the appropriate method of the underlying logger. -
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
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
Delegate to the appropriate method of the underlying logger. -
error
Delegate to the appropriate method of the underlying logger. -
error
Delegate to the appropriate method of the underlying logger. -
error
Delegate to the appropriate method of the underlying logger. -
error
Delegate to the appropriate method of the underlying logger. -
error
Delegate to the appropriate method of the underlying logger. -
error
Delegate to the appropriate method of the underlying logger. -
error
Delegate to the appropriate method of the underlying logger. -
error
Delegate to the appropriate method of the underlying logger. -
error
Delegate to the appropriate method of the underlying logger. -
getName
Delegate to the appropriate method of the underlying logger.
-