Package org.slf4j.helpers
package org.slf4j.helpers
Helper classes.
-
ClassDescriptionAn abstract implementation which delegates actual logging work to the
AbstractLogger.handleNormalizedLoggingCall(Level, Marker, String, Object[], Throwable)method.A simple implementation of theMarkerinterface.An almost trivial implementation of theIMarkerFactoryinterface which createsBasicMarkerinstances.Basic MDC implementation, which can be used with logging systems that lack out-of-the-box MDC support.Used to annotate methods in theLoggingEventBuilderinterface which return an instance of LoggingEventBuilder (usually asthis).Holds the results of formatting done byMessageFormatter.Provides minimal default implementations forLegacyAbstractLogger.isTraceEnabled(Marker),LegacyAbstractLogger.isDebugEnabled(Marker)and other similar methods.Deprecated.Formats messages according to very simple substitution rules.A direct NOP (no operation) implementation ofLogger.NOPLoggerFactory is a trivial implementation ofILoggerFactorywhich always returns the unique instance of NOPLogger.This adapter is an empty implementation of theMDCAdapterinterface.Holds normalized call parameters.An internally used class for reporting internal messages generated by SLF4J itself, typically during initialization.Various utility methodsA logger implementation which logs via a delegate logger.SubstituteLoggerFactory manages instances ofSubstituteLogger.A simple implementation of ThreadLocal backed Map containing values of type Deque. An internal utility class.