## Class LoggerPatternConverterLogger

Description

Returns the name of the logger which created the logging request.

Takes one option, which is an integer. If the option is given, the logger name will be shortened to the given length, if possible.

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

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

    LoggerPatternConverter
       |
       --LoggerPatternConverterLogger

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

#### Inherited Variables

Inherited from LoggerPatternConverter

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

Methods
activateOptions (line 40)

- access: public

void activateOptions ()

Redefinition of:

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

convert (line 47)

- 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 Mon, 02 Feb 2026 13:59:51 +0900 by phpDocumentor 1.4.4