# Class LoggerPatternConverterMDC

Returns the Mapped Diagnostic Context value corresponding to the given key.

Options: [0] the MDC key

  LoggerPatternConverter
  LoggerPatternConverterMDC

Package: log4php\pattern
Version: $Revision: 1326626 $
Since: 2.3
Located at pattern/LoggerPatternConverterMDC.php

Methods summary
`public` | # `activateOptions( )` Called in constructor. Converters which need to process the options can override this method. Called in constructor. Converters which need to process the options can override this method.

#### Overrides

`LoggerPatternConverter::activateOptions()`
`public` | # `convert( `LoggerLoggingEvent` $event )` Converts the logging event to the desired format. Derived pattern converters must implement this method. Converts the logging event to the desired format. Derived pattern converters must implement this method.

#### Parameters

$event
  ``LoggerLoggingEvent``
  $event

Methods inherited from LoggerPatternConverter
`__construct(), format()`

Properties inherited from LoggerPatternConverter
`$formattingInfo, $next, $option`