Sha256: 6b4445f524a0178766dd963b25ef2a9ef91cd961216a3b6124c533cf7ff9998f
Contents?: true
Size: 644 Bytes
Versions: 133
Compression:
Stored size: 644 Bytes
Contents
= MDC The MDC class implements a copy of the Mapped Diagnostic Context, which is part of the Apache Log4j library. See the NDC documentation for more details. MDCs are much like NDCs, but instead of a stack context it uses a map for holding this information. This allows for selection of information out of the map when the log message is being created. MDCs are thread safe, and are unique to each thread. An important difference between MDCs in Log4r vs Log4j is that they only inherit from the main thread. Ruby treats all new threads as being the children of the main thread, even if they are started from a thread that is not main.
Version data entries
133 entries across 95 versions & 16 rubygems