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 theMarker
interface.An almost trivial implementation of theIMarkerFactory
interface which createsBasicMarker
instances.Basic MDC implementation, which can be used with logging systems that lack out-of-the-box MDC support.Used to annotate methods in theLoggingEventBuilder
interface 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 ofILoggerFactory
which always returns the unique instance of NOPLogger.This adapter is an empty implementation of theMDCAdapter
interface.Holds normalized call parameters.An internally used class for reporting internal messages generated by SLF4J itself during initialization.A 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.