Top Description Annotations Classes
[default module]

Package org.slf4j.helpers


Helper classes.


Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
CheckReturnValue

Used to annotate methods in the org.slf4j.spi.LoggingEventBuilder interface which return an instance of LoggingEventBuilder (usually as this).

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractLogger

An abstract implementation which delegates actual logging work to the handleNormalizedLoggingCall(Level, Marker, String, Object[], Throwable) method.

public class
BasicMarker

A simple implementation of the Marker interface.

public class
BasicMarkerFactory

An almost trivial implementation of the IMarkerFactory interface which creates BasicMarker instances.

public class
BasicMDCAdapter

Basic MDC implementation, which can be used with logging systems that lack out-of-the-box MDC support.

public class
FormattingTuple

Holds the results of formatting done by MessageFormatter.

public abstract class
LegacyAbstractLogger

Provides minimal default implementations for isTraceEnabled(Marker), isDebugEnabled(Marker) and other similar methods.

public abstract class
MarkerIgnoringBase

Deprecated
This class serves as base for adapters or native implementations of logging systems lacking Marker support.
public class
MessageFormatter

Formats messages according to very simple substitution rules.

pack-priv abstract class
NamedLoggerBase

Serves as base class for named logger implementation.

public class
public class
NOPLogger

A direct NOP (no operation) implementation of Logger.

public class
NOPLoggerFactory

NOPLoggerFactory is a trivial implementation of ILoggerFactory which always returns the unique instance of NOPLogger.

public class
NOPMDCAdapter

This adapter is an empty implementation of the MDCAdapter interface.

public class
NormalizedParameters

Holds normalized call parameters.

public class
Reporter

An internally used class for reporting internal messages generated by SLF4J itself, typically during initialization.

public class
Slf4jEnvUtil

Various utility methods

public class
SubstituteLogger

A logger implementation which logs via a delegate logger.

public class
SubstituteLoggerFactory

SubstituteLoggerFactory manages instances of SubstituteLogger.

public class
public class
ThreadLocalMapOfStacks

A simple implementation of ThreadLocal backed Map containing values of type Deque<string>.

public class
Util

An internal utility class.