Package org.slf4j.helpers
Helper classes.
-
Class Summary Class Description AbstractLogger An abstract implementation which delegates actual logging work to theAbstractLogger.handleNormalizedLoggingCall(Level, Marker, String, Object[], Throwable)method.BasicMarker A simple implementation of theMarkerinterface.BasicMarkerFactory An almost trivial implementation of theIMarkerFactoryinterface which createsBasicMarkerinstances.BasicMDCAdapter Basic MDC implementation, which can be used with logging systems that lack out-of-the-box MDC support.FormattingTuple Holds the results of formatting done byMessageFormatter.LegacyAbstractLogger Provides minimal default implementations forLegacyAbstractLogger.isTraceEnabled(Marker),LegacyAbstractLogger.isDebugEnabled(Marker)and other similar methods.MarkerIgnoringBase Deprecated. MessageFormatter Formats messages according to very simple substitution rules.NOP_FallbackServiceProvider NOPLogger A direct NOP (no operation) implementation ofLogger.NOPLoggerFactory NOPLoggerFactory is a trivial implementation ofILoggerFactorywhich always returns the unique instance of NOPLogger.NOPMDCAdapter This adapter is an empty implementation of theMDCAdapterinterface.NormalizedParameters Holds normalized call parameters.SubstituteLogger A logger implementation which logs via a delegate logger.SubstituteLoggerFactory SubstituteLoggerFactory manages instances ofSubstituteLogger.SubstituteServiceProvider ThreadLocalMapOfStacks A simple implementation of ThreadLocal backed Map containing values of type Deque. Util An internal utility class. -
Annotation Types Summary Annotation Type Description CheckReturnValue Used to annotate methods in theLoggingEventBuilderinterface which return an instance of LoggingEventBuilder (usually asthis).