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.
Located in /log4php/pattern/LoggerPatternConverter.php (line 34)
Class | Description |
---|---|
LoggerPatternConverterProcess | Returns the PID of the current process. |
LoggerPatternConverterLocation | Returns the line number within the file from which the logging request was issued. |
LoggerPatternConverterSuperglobal | Returns a value from a superglobal array corresponding to the given key. |
LoggerPatternConverterMessage | Returns the logged message. |
LoggerPatternConverterFile | Returns the name of the file from which the logging request was issued. |
LoggerPatternConverterLevel | Returns the event's level. |
LoggerPatternConverterLogger | Returns the name of the logger which created the logging request. |
LoggerPatternConverterNewLine | Returns platform-specific newline character(s). |
LoggerPatternConverterThrowable | Returns the throwable information linked to the logging event, if any. |
LoggerPatternConverterLine | Returns the line number within the file from which the logging request was issued. |
LoggerPatternConverterRelative | Returns the number of milliseconds elapsed since the start of the application until the creation of the logging event. |
LoggerPatternConverterMethod | Returns the name of the function or method from which the logging request was issued. |
LoggerPatternConverterSessionID | Returns the active session ID, or an empty string if out of session. |
LoggerPatternConverterMDC | Returns the Mapped Diagnostic Context value corresponding to the given key. |
LoggerPatternConverterLiteral | Returns the literal value passed in the constructor, without modifications. |
LoggerPatternConverterDate | Returns the date/time of the logging request. |
LoggerPatternConverterClass | Returns the fully qualified class name of the class from which the logging request was issued. |
LoggerPatternConverterNDC | Returns the full Nested Diagnostic Context. |
Formatting information, parsed from pattern modifiers.
Next converter in the converter chain.
Converter-specific formatting options.
Constructor
Called in constructor. Converters which need to process the options can override this method.
Converts the logging event to the desired format. Derived pattern converters must implement this method.
Converts the event and formats it according to setting in the Formatting information object.
Documentation generated on Thu, 16 Feb 2017 18:02:57 +0900 by phpDocumentor 1.4.4