Public Member Functions | |
Any | formatAny (Any anyLogRecord, LogRecord logRecord) |
String | format (LogRecord logRecord) |
Private Member Functions | |
String | maskMessage (String message) |
String | maskAttribute (String attributeValue) |
String | maskEmptyDataContent (String content) |
|
Constructs the XML log message that can be sent to the ACS logging service.
|
|
Implements alma::acs::logging::formatters::AcsLogFormatter.
|
|
Escapes characters in a log record attribute which would make the surrounding XML invalid. Since XML attributes can't use
|
|
If a Data element has empty content (resulting in <data></data>), then the xerces parser would throw an exception. As a workaround, we replace the empty string with "N/A". |
|
Escapes characters in the log message which would make the surrounding XML invalid. Embeds the message text in a
|