Class LogbackMDCAdapterSimple

java.lang.Object
ch.qos.logback.classic.util.LogbackMDCAdapterSimple
All Implemented Interfaces:
org.slf4j.spi.MDCAdapter

public class LogbackMDCAdapterSimple extends Object implements org.slf4j.spi.MDCAdapter
A Mapped Diagnostic Context, or MDC in short, is an instrument for distinguishing interleaved log output from different sources. Log output is typically interleaved when a server handles multiple clients near-simultaneously.

The MDC is managed on a per thread basis. Note that a child thread does not inherit the mapped diagnostic context of its parent.

For more information about MDC, please refer to the online manual at http://logback.qos.ch/manual/mdc.html

Author:
Ceki Gülcü