## Class LoggerPatternConverterMDC

Description

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

Options: [0] the MDC key

- version: $Revision: 1326626 $
- since: 2.3

Located in /log4php/pattern/LoggerPatternConverterMDC.php (line 32)

    LoggerPatternConverter
       |
       --LoggerPatternConverterMDC

Method Summary
void activateOptions ()
void convert (LoggerLoggingEvent $event)
Variables

#### Inherited Variables

Inherited from LoggerPatternConverter

> LoggerPatternConverter::$formattingInfo
> LoggerPatternConverter::$next
> LoggerPatternConverter::$option

Methods
activateOptions (line 36)

- access: public

void activateOptions ()

Redefinition of:

LoggerPatternConverter::activateOptions()
  Called in constructor. Converters which need to process the options can override this method.

convert (line 42)

- access: public

void convert (LoggerLoggingEvent $event)

- LoggerLoggingEvent $event

Redefinition of:

LoggerPatternConverter::convert()
  Converts the logging event to the desired format. Derived pattern converters must implement this method.

#### Inherited Methods

Inherited From LoggerPatternConverter

> LoggerPatternConverter::__construct()
> LoggerPatternConverter::activateOptions()
> LoggerPatternConverter::convert()
> LoggerPatternConverter::format()

Documentation generated on Wed, 12 Nov 2025 18:40:35 +0900 by phpDocumentor 1.4.4