Class LoggerPatternConverter
LoggerPatternConverter is an abstract class that provides the formatting functionality that derived classes need.
Conversion specifiers in a conversion patterns are parsed to individual PatternConverters. Each of which is responsible for converting a logging event in a converter specific manner.
Direct known subclasses
LoggerPatternConverterClass, LoggerPatternConverterDate, LoggerPatternConverterMethod, LoggerPatternConverterNDC, LoggerPatternConverterNewLine, LoggerPatternConverterProcess, LoggerPatternConverterRelative, LoggerPatternConverterSessionID, LoggerPatternConverterSuperglobal, LoggerPatternConverterThrowable, LoggerPatternConverterFile, LoggerPatternConverterLevel, LoggerPatternConverterLine, LoggerPatternConverterLiteral, LoggerPatternConverterLocation, LoggerPatternConverterLogger, LoggerPatternConverterMDC, LoggerPatternConverterMessageIndirect known subclasses
LoggerPatternConverterCookie, LoggerPatternConverterEnvironment, LoggerPatternConverterRequest, LoggerPatternConverterServer, LoggerPatternConverterSession
Abstract
Package: log4php\helpers
Version: $Revision: 1326626 $
Since: 0.3
Located at pattern/LoggerPatternConverter.php
Package: log4php\helpers
Version: $Revision: 1326626 $
Since: 0.3
Located at pattern/LoggerPatternConverter.php
public
|
|
public
|
#
activateOptions( )
Called in constructor. Converters which need to process the options can override this method. |
abstract public
|
#
convert(
Converts the logging event to the desired format. Derived pattern converters must implement this method. |
public
|
#
format( string & $sbuf,
Converts the event and formats it according to setting in the Formatting information object. |
public
|
$next | null |
#
Next converter in the converter chain. |
protected
|
$formattingInfo |
|
#
Formatting information, parsed from pattern modifiers. |
protected
array
|
$option |
|
#
Converter-specific formatting options. |