java.lang.Object
de.codecamp.tracer.handlers.Slf4jMdcProvider
- All Implemented Interfaces:
TraceContextListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcontextClosed(TraceContext context) Called when a trace context was closed.voidcontextOpened(TraceContext context) Called when a trace context was opened.
-
Constructor Details
-
Slf4jMdcProvider
public Slf4jMdcProvider()
-
-
Method Details
-
contextOpened
Description copied from interface:TraceContextListenerCalled when a trace context was opened.- Specified by:
contextOpenedin interfaceTraceContextListener- Parameters:
context- the trace context
-
contextClosed
Description copied from interface:TraceContextListenerCalled when a trace context was closed.- Specified by:
contextClosedin interfaceTraceContextListener- Parameters:
context- the trace context
-