Public Member Functions | |
LoggingFormatter () | |
String | getHost () |
String | format (LogRecord record) |
Private Member Functions | |
long | extractLongProperty (String name, Map properties, long defaultValue) |
String | extractStringProperty (String name, Map properties, String defaultValue) |
Map | extractMapProperty (String name, Map properties, Map defaultValue) |
Static Private Attributes | |
final SimpleDateFormat | timeFormatter |
String | host = null |
final String | CDATA_PREFIX = "<![CDATA[" |
final String | CDATA_POSTFIX = "]]>" |
final String | INIT_METHOD_NAME = "<init>" |
final String | INIT_METHOD_NAME_REPLACEMENT = "<init>" |
|
Constructor for LoggingFormatter. |
|
Extract property with specified name of type long from the
|
|
Extract property with specified name of type Map from the
|
|
Extract property with specified name of type String from the
|
|
Formats
Additional parameters should be stored as
See 'Logging and Archiving' document for details.
|
|
Returns the name of the locahost.
|
|
XML CDATA postfix string. |
|
XML CDATA prefix string. |
|
Name of the localhost; |
|
Constructor (init) method name (Java specific). |
|
Constructor (init) method name (Java specific) send by this formatter, since '<' cannot appear in attribute value. |
|
Initial value: ISO 8601 date formatter. |