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

Version Path
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/gems/log4r-1.1.10/lib/log4r/rdoc/MDC
vagrant-unbundled-1.8.5.2 vendor/bundle/ruby/2.3.0/gems/log4r-1.1.10/lib/log4r/rdoc/MDC
vagrant-unbundled-1.8.5.1 vendor/bundle/ruby/2.3.0/gems/log4r-1.1.10/lib/log4r/rdoc/MDC
vagrant-unbundled-1.8.4.2 vendor/bundle/ruby/2.3.0/gems/log4r-1.1.10/lib/log4r/rdoc/MDC
vagrant-unbundled-1.8.4.1 vendor/bundle/ruby/2.3.0/gems/log4r-1.1.10/lib/log4r/rdoc/MDC
vagrant-unbundled-1.8.1.1 vendor/bundle/ruby/2.3.0/gems/log4r-1.1.10/lib/log4r/rdoc/MDC
vagrant-cloudstack-1.2.0 vendor/bundle/gems/log4r-1.1.10/lib/log4r/rdoc/MDC
vagrant-cloudstack-1.1.0 vendor/bundle/gems/log4r-1.1.10/lib/log4r/rdoc/MDC
log4rails-1.1.11 lib/log4r/rdoc/MDC
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/gems/log4r-1.1.10/lib/log4r/rdoc/MDC
depengine-0.0.31 etc/isolate/ruby-1.8/gems/log4r-1.1.8/lib/log4r/rdoc/MDC
depengine-0.0.31 etc/isolate/jruby-1.8/gems/log4r-1.1.8/lib/log4r/rdoc/MDC
depengine-0.0.30 etc/isolate/jruby-1.8/gems/log4r-1.1.8/lib/log4r/rdoc/MDC
depengine-0.0.30 etc/isolate/ruby-1.8/gems/log4r-1.1.8/lib/log4r/rdoc/MDC
depengine-0.0.29 etc/isolate/ruby-1.8/gems/log4r-1.1.8/lib/log4r/rdoc/MDC
depengine-0.0.29 etc/isolate/jruby-1.8/gems/log4r-1.1.8/lib/log4r/rdoc/MDC
depengine-0.0.28 etc/isolate/ruby-1.8/gems/log4r-1.1.8/lib/log4r/rdoc/MDC
depengine-0.0.28 etc/isolate/jruby-1.8/gems/log4r-1.1.8/lib/log4r/rdoc/MDC
depengine-0.0.27 etc/isolate/ruby-1.8/gems/log4r-1.1.8/lib/log4r/rdoc/MDC
depengine-0.0.27 etc/isolate/jruby-1.8/gems/log4r-1.1.8/lib/log4r/rdoc/MDC