public class RemoteLogFormatter extends XMLFormatter
Constructor and Description |
---|
RemoteLogFormatter()
Constructs the formatter.
|
Modifier and Type | Method and Description |
---|---|
String |
format(LogRecord record)
Formats the log record to the remote log format.
|
String |
getHead(Handler h)
Return the header string for a set of XML formatted records.
|
String |
getTail(Handler h)
Return the tail string for a set of XML formatted records.
|
formatMessage
public String format(LogRecord record)
format
in class XMLFormatter
record
- The log recordpublic String getHead(Handler h)
getHead
in class XMLFormatter
h
- The target handler (can be null)public String getTail(Handler h)
getTail
in class XMLFormatter
h
- The target handler (can be null)