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
FieldsFields inherited from interface org.slf4j.Logger
ROOT_LOGGER_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Log a message with the specific Marker at the DEBUG level.voidDeprecated.This method is similar toLogger.debug(String, Object)method except that the marker data is also taken into consideration.voidDeprecated.This method is similar toLogger.debug(String, Object...)method except that the marker data is also taken into consideration.voidDeprecated.This method is similar toLogger.debug(String, Object, Object)method except that the marker data is also taken into consideration.voidDeprecated.This method is similar toLogger.debug(String, Throwable)method except that the marker data is also taken into consideration.voidDeprecated.Log a message with the specific Marker at the ERROR level.voidDeprecated.This method is similar toLogger.error(String, Object)method except that the marker data is also taken into consideration.voidDeprecated.This method is similar toLogger.error(String, Object...)method except that the marker data is also taken into consideration.voidDeprecated.This method is similar toLogger.error(String, Object, Object)method except that the marker data is also taken into consideration.voidDeprecated.This method is similar toLogger.error(String, Throwable)method except that the marker data is also taken into consideration.getName()Return the name of thisLoggerinstance.voidDeprecated.Log a message with the specific Marker at the INFO level.voidDeprecated.This method is similar toLogger.info(String, Object)method except that the marker data is also taken into consideration.voidDeprecated.This method is similar toLogger.info(String, Object...)method except that the marker data is also taken into consideration.voidDeprecated.This method is similar toLogger.info(String, Object, Object)method except that the marker data is also taken into consideration.voidDeprecated.This method is similar toLogger.info(String, Throwable)method except that the marker data is also taken into consideration.booleanisDebugEnabled(Marker marker) Deprecated.Similar toLogger.isDebugEnabled()method except that the marker data is also taken into account.booleanisErrorEnabled(Marker marker) Deprecated.Similar toLogger.isErrorEnabled()method except that the marker data is also taken into consideration.booleanisInfoEnabled(Marker marker) Deprecated.Similar toLogger.isInfoEnabled()method except that the marker data is also taken into consideration.booleanisTraceEnabled(Marker marker) Deprecated.Similar toLogger.isTraceEnabled()method except that the marker data is also taken into account.booleanisWarnEnabled(Marker marker) Deprecated.Similar toLogger.isWarnEnabled()method except that the marker data is also taken into consideration.protected ObjectReplace this instance with a homonymous (same name) logger returned by LoggerFactory.toString()Deprecated.voidDeprecated.Log a message with the specific Marker at the TRACE level.voidDeprecated.This method is similar toLogger.trace(String, Object)method except that the marker data is also taken into consideration.voidDeprecated.This method is similar toLogger.trace(String, Object...)method except that the marker data is also taken into consideration.voidDeprecated.This method is similar toLogger.trace(String, Object, Object)method except that the marker data is also taken into consideration.voidDeprecated.This method is similar toLogger.trace(String, Throwable)method except that the marker data is also taken into consideration.voidDeprecated.Log a message with the specific Marker at the WARN level.voidDeprecated.This method is similar toLogger.warn(String, Object)method except that the marker data is also taken into consideration.voidDeprecated.This method is similar toLogger.warn(String, Object...)method except that the marker data is also taken into consideration.voidDeprecated.This method is similar toLogger.warn(String, Object, Object)method except that the marker data is also taken into consideration.voidDeprecated.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, waitMethods 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:LoggerSimilar toLogger.isTraceEnabled()method except that the marker data is also taken into account.- 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
Deprecated.Description copied from interface:LoggerLog a message with the specific Marker at the TRACE level. -
trace
Deprecated.Description copied from interface:LoggerThis method is similar toLogger.trace(String, Object)method except that the marker data is also taken into consideration. -
trace
Deprecated.Description copied from interface:LoggerThis 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:LoggerThis method is similar toLogger.trace(String, Object...)method except that the marker data is also taken into consideration. -
trace
Deprecated.Description copied from interface:LoggerThis method is similar toLogger.trace(String, Throwable)method except that the marker data is also taken into consideration. -
isDebugEnabled
Deprecated.Description copied from interface:LoggerSimilar toLogger.isDebugEnabled()method except that the marker data is also taken into account.- 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
Deprecated.Description copied from interface:LoggerLog a message with the specific Marker at the DEBUG level. -
debug
Deprecated.Description copied from interface:LoggerThis method is similar toLogger.debug(String, Object)method except that the marker data is also taken into consideration. -
debug
Deprecated.Description copied from interface:LoggerThis 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:LoggerThis method is similar toLogger.debug(String, Object...)method except that the marker data is also taken into consideration. -
debug
Deprecated.Description copied from interface:LoggerThis method is similar toLogger.debug(String, Throwable)method except that the marker data is also taken into consideration. -
isInfoEnabled
Deprecated.Description copied from interface:LoggerSimilar toLogger.isInfoEnabled()method except that the marker data is also taken into consideration.- Specified by:
isInfoEnabledin 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:LoggerLog a message with the specific Marker at the INFO level. -
info
Deprecated.Description copied from interface:LoggerThis method is similar toLogger.info(String, Object)method except that the marker data is also taken into consideration. -
info
Deprecated.Description copied from interface:LoggerThis 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:LoggerThis method is similar toLogger.info(String, Object...)method except that the marker data is also taken into consideration. -
info
Deprecated.Description copied from interface:LoggerThis method is similar toLogger.info(String, Throwable)method except that the marker data is also taken into consideration. -
isWarnEnabled
Deprecated.Description copied from interface:LoggerSimilar toLogger.isWarnEnabled()method except that the marker data is also taken into consideration.- 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
Deprecated.Description copied from interface:LoggerLog a message with the specific Marker at the WARN level. -
warn
Deprecated.Description copied from interface:LoggerThis method is similar toLogger.warn(String, Object)method except that the marker data is also taken into consideration. -
warn
Deprecated.Description copied from interface:LoggerThis 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:LoggerThis method is similar toLogger.warn(String, Object...)method except that the marker data is also taken into consideration. -
warn
Deprecated.Description copied from interface:LoggerThis method is similar toLogger.warn(String, Throwable)method except that the marker data is also taken into consideration. -
isErrorEnabled
Deprecated.Description copied from interface:LoggerSimilar toLogger.isErrorEnabled()method except that the marker data is also taken into consideration.- 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
Deprecated.Description copied from interface:LoggerLog a message with the specific Marker at the ERROR level. -
error
Deprecated.Description copied from interface:LoggerThis method is similar toLogger.error(String, Object)method except that the marker data is also taken into consideration. -
error
Deprecated.Description copied from interface:LoggerThis 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:LoggerThis method is similar toLogger.error(String, Object...)method except that the marker data is also taken into consideration. -
error
Deprecated.Description copied from interface:LoggerThis 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:LoggerReturn the name of thisLoggerinstance. -
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
-