
Public Member Functions | |
| String | convert (LoggingEvent event) |
Package Functions | |
| JavaVMInfoPatternConverter (FormattingInfo formattingInfo, String format) | |
Private Attributes | |
| boolean | _constantsInitialized = false |
| ERXUnitAwareDecimalFormat | _decimalFormatter |
| final NSDictionary | _defaultLabels = null |
| NSMutableDictionary | _jvmInfo |
| Runtime | _runtime |
| String | _template |
| ERXSimpleTemplateParser | _templateParser |
JavaVMInfoPatternConverter is useful for logging various info about the Java runtime and Virtual Machine that is running the application instance. See ERXPatternLayout for example/supported partterns. | JavaVMInfoPatternConverter | ( | FormattingInfo | formattingInfo, | |
| String | format | |||
| ) | [package] |
Default package level constructor
| formattingInfo | current pattern formatting information | |
| format | string for the logging event format |
| String convert | ( | LoggingEvent | event | ) |
Returns ...
... has not been created yet then "-" is logged.
| event | a given logging event |
boolean _constantsInitialized = false [private] |
Flag to indicate if the constant values are set. The constant values are the part of application info that shouldn't change during the application's life span.
ERXUnitAwareDecimalFormat _decimalFormatter [private] |
final NSDictionary _defaultLabels = null [private] |
Holds the default labels for the values. Note that the template parser will put "-" for undefined values by defauilt.
NSMutableDictionary _jvmInfo [private] |
Holds the values for the JavaVM info. Used by the template parser
Runtime _runtime [private] |
ERXSimpleTemplateParser _templateParser [private] |
Template parser to format logging events
1.5.8