# Class LoggerPatternConverterLogger

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.

  LoggerPatternConverter
  LoggerPatternConverterLogger

Package: log4php\pattern
Version: $Revision: 1326626 $
Since: 2.3
Located at pattern/LoggerPatternConverterLogger.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`