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 SummaryFieldsFields inherited from interface org.slf4j.LoggerROOT_LOGGER_NAME
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.slf4j.LoggeratDebug, 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- 
MarkerIgnoringBasepublic MarkerIgnoringBase()Deprecated.
 
- 
- 
Method Details- 
isTraceEnabledDeprecated.Description copied from interface:LoggerSimilar toLogger.isTraceEnabled()method except that the marker data is also taken into account.- Specified by:
- isTraceEnabledin interface- Logger
- Parameters:
- marker- The marker data to take into consideration
- Returns:
- True if this Logger is enabled for the TRACE level, false otherwise.
 
- 
traceDeprecated.Description copied from interface:LoggerLog a message with the specific Marker at the TRACE level.
- 
traceDeprecated.Description copied from interface:LoggerThis method is similar toLogger.trace(String, Object)method except that the marker data is also taken into consideration.
- 
traceDeprecated.Description copied from interface:LoggerThis method is similar toLogger.trace(String, Object, Object)method except that the marker data is also taken into consideration.
- 
traceDeprecated.Description copied from interface:LoggerThis method is similar toLogger.trace(String, Object...)method except that the marker data is also taken into consideration.
- 
traceDeprecated.Description copied from interface:LoggerThis method is similar toLogger.trace(String, Throwable)method except that the marker data is also taken into consideration.
- 
isDebugEnabledDeprecated.Description copied from interface:LoggerSimilar toLogger.isDebugEnabled()method except that the marker data is also taken into account.- Specified by:
- isDebugEnabledin interface- Logger
- Parameters:
- marker- The marker data to take into consideration
- Returns:
- True if this Logger is enabled for the DEBUG level, false otherwise.
 
- 
debugDeprecated.Description copied from interface:LoggerLog a message with the specific Marker at the DEBUG level.
- 
debugDeprecated.Description copied from interface:LoggerThis method is similar toLogger.debug(String, Object)method except that the marker data is also taken into consideration.
- 
debugDeprecated.Description copied from interface:LoggerThis method is similar toLogger.debug(String, Object, Object)method except that the marker data is also taken into consideration.
- 
debugDeprecated.Description copied from interface:LoggerThis method is similar toLogger.debug(String, Object...)method except that the marker data is also taken into consideration.
- 
debugDeprecated.Description copied from interface:LoggerThis method is similar toLogger.debug(String, Throwable)method except that the marker data is also taken into consideration.
- 
isInfoEnabledDeprecated.Description copied from interface:LoggerSimilar toLogger.isInfoEnabled()method except that the marker data is also taken into consideration.- Specified by:
- isInfoEnabledin interface- Logger
- Parameters:
- marker- The marker data to take into consideration
- Returns:
- true if this Logger is enabled for the INFO level, false otherwise.
 
- 
info
- 
infoDeprecated.Description copied from interface:LoggerThis method is similar toLogger.info(String, Object)method except that the marker data is also taken into consideration.
- 
infoDeprecated.Description copied from interface:LoggerThis method is similar toLogger.info(String, Object, Object)method except that the marker data is also taken into consideration.
- 
infoDeprecated.Description copied from interface:LoggerThis method is similar toLogger.info(String, Object...)method except that the marker data is also taken into consideration.
- 
infoDeprecated.Description copied from interface:LoggerThis method is similar toLogger.info(String, Throwable)method except that the marker data is also taken into consideration.
- 
isWarnEnabledDeprecated.Description copied from interface:LoggerSimilar toLogger.isWarnEnabled()method except that the marker data is also taken into consideration.- Specified by:
- isWarnEnabledin interface- Logger
- Parameters:
- marker- The marker data to take into consideration
- Returns:
- True if this Logger is enabled for the WARN level, false otherwise.
 
- 
warn
- 
warnDeprecated.Description copied from interface:LoggerThis method is similar toLogger.warn(String, Object)method except that the marker data is also taken into consideration.
- 
warnDeprecated.Description copied from interface:LoggerThis method is similar toLogger.warn(String, Object, Object)method except that the marker data is also taken into consideration.
- 
warnDeprecated.Description copied from interface:LoggerThis method is similar toLogger.warn(String, Object...)method except that the marker data is also taken into consideration.
- 
warnDeprecated.Description copied from interface:LoggerThis method is similar toLogger.warn(String, Throwable)method except that the marker data is also taken into consideration.
- 
isErrorEnabledDeprecated.Description copied from interface:LoggerSimilar toLogger.isErrorEnabled()method except that the marker data is also taken into consideration.- Specified by:
- isErrorEnabledin interface- Logger
- Parameters:
- marker- The marker data to take into consideration
- Returns:
- True if this Logger is enabled for the ERROR level, false otherwise.
 
- 
error
- 
errorDeprecated.Description copied from interface:LoggerThis method is similar toLogger.error(String, Object)method except that the marker data is also taken into consideration.
- 
errorDeprecated.Description copied from interface:LoggerThis method is similar toLogger.error(String, Object, Object)method except that the marker data is also taken into consideration.
- 
errorDeprecated.Description copied from interface:LoggerThis method is similar toLogger.error(String, Object...)method except that the marker data is also taken into consideration.
- 
errorDeprecated.Description copied from interface:LoggerThis method is similar toLogger.error(String, Throwable)method except that the marker data is also taken into consideration.
- 
toString
- 
getName
- 
readResolveReplace 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
 
 
-