|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.logging.Formatter java.util.logging.XMLFormatter com.sun.faban.harness.agent.RemoteLogFormatter
public class RemoteLogFormatter
Formatter for formatting the logs to be sent to a log server. It adds a host name to the XML.
Constructor Summary | |
---|---|
RemoteLogFormatter()
Constructs the formatter. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.util.logging.Formatter |
---|
formatMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteLogFormatter()
Method Detail |
---|
public String format(LogRecord record)
format
in class XMLFormatter
record
- The log record
public 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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |