java.lang.Object
org.tentackle.log.AbstractMappedDiagnosticContext
org.tentackle.log.slf4j.SLF4JMappedDiagnosticContext
- All Implemented Interfaces:
MappedDiagnosticContext
@Service(SLF4JMappedDiagnosticContext.class)
public class SLF4JMappedDiagnosticContext
extends AbstractMappedDiagnosticContext
The SLF4J mdc implementation.
- Author:
- harald
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()static SLF4JMappedDiagnosticContextThe singleton.voidvoidMethods inherited from class org.tentackle.log.AbstractMappedDiagnosticContext
getKeys, matchesPattern, toString
-
Constructor Details
-
SLF4JMappedDiagnosticContext
public SLF4JMappedDiagnosticContext()Creates the MDC for SLF4J.
-
-
Method Details
-
getInstance
The singleton.- Returns:
- the singleton
-
put
-
get
-
remove
-
clear
public void clear() -
getContext
- Specified by:
getContextin classAbstractMappedDiagnosticContext
-