|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.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 XMLFormatterrecord - The log record
public String getHead(Handler h)
getHead in class XMLFormatterh - The target handler (can be null)
public String getTail(Handler h)
getTail in class XMLFormatterh - The target handler (can be null)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||