The LoggerMDC class provides _mapped diagnostic contexts_.
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.
This class is similar to the LoggerNDC class except that it is based on a map instead of a stack.
Located in /log4php/LoggerMDC.php (line 36)
Clears the mapped diagnostic context.
Returns the context value identified by the key parameter.
Returns the contex map as an array.
Stores a context value as identified with the key parameter into the context map.
Removes the the context identified by the key parameter.
Only affects user mappings, not $_ENV or $_SERVER.
Documentation generated on Tue, 12 Mar 2024 14:04:54 +0900 by phpDocumentor 1.4.4