Package org.slf4j.helpers
Class MarkerIgnoringBase
java.lang.Object
org.slf4j.helpers.MarkerIgnoringBase
- All Implemented Interfaces:
Serializable
,Logger
Deprecated.
This class serves as base for adapters or native implementations of logging systems
lacking Marker support. In this implementation, methods taking marker data
simply invoke the corresponding method without the Marker argument, discarding
any marker data passed as argument.
- Author:
- Ceki Gulcu
- See Also:
-
Field Summary
Fields inherited from interface org.slf4j.Logger
ROOT_LOGGER_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Log a message with the specific Marker at the DEBUG level.void
Deprecated.This method is similar toLogger.debug(String, Object)
method except that the marker data is also taken into consideration.void
Deprecated.This method is similar toLogger.debug(String, Object...)
method except that the marker data is also taken into consideration.void
Deprecated.This method is similar toLogger.debug(String, Object, Object)
method except that the marker data is also taken into consideration.void
Deprecated.This method is similar toLogger.debug(String, Throwable)
method except that the marker data is also taken into consideration.void
Deprecated.Log a message with the specific Marker at the ERROR level.void
Deprecated.This method is similar toLogger.error(String, Object)
method except that the marker data is also taken into consideration.void
Deprecated.This method is similar toLogger.error(String, Object...)
method except that the marker data is also taken into consideration.void
Deprecated.This method is similar toLogger.error(String, Object, Object)
method except that the marker data is also taken into consideration.void
Deprecated.This method is similar toLogger.error(String, Throwable)
method except that the marker data is also taken into consideration.getName()
Return the name of thisLogger
instance.void
Deprecated.Log a message with the specific Marker at the INFO level.void
Deprecated.This method is similar toLogger.info(String, Object)
method except that the marker data is also taken into consideration.void
Deprecated.This method is similar toLogger.info(String, Object...)
method except that the marker data is also taken into consideration.void
Deprecated.This method is similar toLogger.info(String, Object, Object)
method except that the marker data is also taken into consideration.void
Deprecated.This method is similar toLogger.info(String, Throwable)
method except that the marker data is also taken into consideration.boolean
isDebugEnabled
(Marker marker) Deprecated.Similar toLogger.isDebugEnabled()
method except that the marker data is also taken into account.boolean
isErrorEnabled
(Marker marker) Deprecated.Similar toLogger.isErrorEnabled()
method except that the marker data is also taken into consideration.boolean
isInfoEnabled
(Marker marker) Deprecated.Similar toLogger.isInfoEnabled()
method except that the marker data is also taken into consideration.boolean
isTraceEnabled
(Marker marker) Deprecated.Similar toLogger.isTraceEnabled()
method except that the marker data is also taken into account.boolean
isWarnEnabled
(Marker marker) Deprecated.Similar toLogger.isWarnEnabled()
method except that the marker data is also taken into consideration.protected Object
Replace this instance with a homonymous (same name) logger returned by LoggerFactory.toString()
Deprecated.void
Deprecated.Log a message with the specific Marker at the TRACE level.void
Deprecated.This method is similar toLogger.trace(String, Object)
method except that the marker data is also taken into consideration.void
Deprecated.This method is similar toLogger.trace(String, Object...)
method except that the marker data is also taken into consideration.void
Deprecated.This method is similar toLogger.trace(String, Object, Object)
method except that the marker data is also taken into consideration.void
Deprecated.This method is similar toLogger.trace(String, Throwable)
method except that the marker data is also taken into consideration.void
Deprecated.Log a message with the specific Marker at the WARN level.void
Deprecated.This method is similar toLogger.warn(String, Object)
method except that the marker data is also taken into consideration.void
Deprecated.This method is similar toLogger.warn(String, Object...)
method except that the marker data is also taken into consideration.void
Deprecated.This method is similar toLogger.warn(String, Object, Object)
method except that the marker data is also taken into consideration.void
Deprecated.This method is similar toLogger.warn(String, Throwable)
method except that the marker data is also taken into consideration.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.slf4j.Logger
atDebug, atError, atInfo, atLevel, atTrace, atWarn, debug, debug, debug, debug, debug, error, error, error, error, error, getName, info, info, info, info, info, isDebugEnabled, isEnabledForLevel, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, makeLoggingEventBuilder, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn
-
Field Details
-
name
-
-
Constructor Details
-
MarkerIgnoringBase
public MarkerIgnoringBase()Deprecated.
-
-
Method Details
-
isTraceEnabled
Deprecated.Description copied from interface:Logger
Similar toLogger.isTraceEnabled()
method except that the marker data is also taken into account.- 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
Deprecated.Description copied from interface:Logger
Log a message with the specific Marker at the TRACE level. -
trace
Deprecated.Description copied from interface:Logger
This method is similar toLogger.trace(String, Object)
method except that the marker data is also taken into consideration. -
trace
Deprecated.Description copied from interface:Logger
This method is similar toLogger.trace(String, Object, Object)
method except that the marker data is also taken into consideration. -
trace
Deprecated.Description copied from interface:Logger
This method is similar toLogger.trace(String, Object...)
method except that the marker data is also taken into consideration. -
trace
Deprecated.Description copied from interface:Logger
This method is similar toLogger.trace(String, Throwable)
method except that the marker data is also taken into consideration. -
isDebugEnabled
Deprecated.Description copied from interface:Logger
Similar toLogger.isDebugEnabled()
method except that the marker data is also taken into account.- 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
Deprecated.Description copied from interface:Logger
Log a message with the specific Marker at the DEBUG level. -
debug
Deprecated.Description copied from interface:Logger
This method is similar toLogger.debug(String, Object)
method except that the marker data is also taken into consideration. -
debug
Deprecated.Description copied from interface:Logger
This method is similar toLogger.debug(String, Object, Object)
method except that the marker data is also taken into consideration. -
debug
Deprecated.Description copied from interface:Logger
This method is similar toLogger.debug(String, Object...)
method except that the marker data is also taken into consideration. -
debug
Deprecated.Description copied from interface:Logger
This method is similar toLogger.debug(String, Throwable)
method except that the marker data is also taken into consideration. -
isInfoEnabled
Deprecated.Description copied from interface:Logger
Similar toLogger.isInfoEnabled()
method except that the marker data is also taken into consideration.- 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
Deprecated.Description copied from interface:Logger
Log a message with the specific Marker at the INFO level. -
info
Deprecated.Description copied from interface:Logger
This method is similar toLogger.info(String, Object)
method except that the marker data is also taken into consideration. -
info
Deprecated.Description copied from interface:Logger
This method is similar toLogger.info(String, Object, Object)
method except that the marker data is also taken into consideration. -
info
Deprecated.Description copied from interface:Logger
This method is similar toLogger.info(String, Object...)
method except that the marker data is also taken into consideration. -
info
Deprecated.Description copied from interface:Logger
This method is similar toLogger.info(String, Throwable)
method except that the marker data is also taken into consideration. -
isWarnEnabled
Deprecated.Description copied from interface:Logger
Similar toLogger.isWarnEnabled()
method except that the marker data is also taken into consideration.- 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
Deprecated.Description copied from interface:Logger
Log a message with the specific Marker at the WARN level. -
warn
Deprecated.Description copied from interface:Logger
This method is similar toLogger.warn(String, Object)
method except that the marker data is also taken into consideration. -
warn
Deprecated.Description copied from interface:Logger
This method is similar toLogger.warn(String, Object, Object)
method except that the marker data is also taken into consideration. -
warn
Deprecated.Description copied from interface:Logger
This method is similar toLogger.warn(String, Object...)
method except that the marker data is also taken into consideration. -
warn
Deprecated.Description copied from interface:Logger
This method is similar toLogger.warn(String, Throwable)
method except that the marker data is also taken into consideration. -
isErrorEnabled
Deprecated.Description copied from interface:Logger
Similar toLogger.isErrorEnabled()
method except that the marker data is also taken into consideration.- 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
Deprecated.Description copied from interface:Logger
Log a message with the specific Marker at the ERROR level. -
error
Deprecated.Description copied from interface:Logger
This method is similar toLogger.error(String, Object)
method except that the marker data is also taken into consideration. -
error
Deprecated.Description copied from interface:Logger
This method is similar toLogger.error(String, Object, Object)
method except that the marker data is also taken into consideration. -
error
Deprecated.Description copied from interface:Logger
This method is similar toLogger.error(String, Object...)
method except that the marker data is also taken into consideration. -
error
Deprecated.Description copied from interface:Logger
This method is similar toLogger.error(String, Throwable)
method except that the marker data is also taken into consideration. -
toString
Deprecated. -
getName
Description copied from interface:Logger
Return the name of thisLogger
instance. -
readResolve
Replace this instance with a homonymous (same name) logger returned by LoggerFactory. Note that this method is only called during deserialization.This approach will work well if the desired ILoggerFactory is the one referenced by LoggerFactory. However, if the user manages its logger hierarchy through a different (non-static) mechanism, e.g. dependency injection, then this approach would be mostly counterproductive.
- Returns:
- logger with same name as returned by LoggerFactory
- Throws:
ObjectStreamException
-