|
Forward Computing and Control Pty. Ltd. Logging Package V1.3.0 2004/11/22 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.logging.Formatter
au.com.forward.logging.RobustFormatter
au.com.forward.logging.LoggingXMLFormatter
public class LoggingXMLFormatter
This class provides a robust xml formatter with stylesheet.
Constructor Summary | |
---|---|
LoggingXMLFormatter()
|
Method Summary | |
---|---|
java.lang.String |
format(java.util.logging.LogRecord record)
Format the given message to XML. |
java.lang.String |
getHead(java.util.logging.Handler h)
Return the header string for a set of XML formatted records. |
java.lang.String |
getTail(java.util.logging.Handler h)
Return the tail string for a set of XML formatted records. |
protected java.lang.String |
newLineString()
Returns the newLine setting for this class for XML use \n for new lines in XML output |
Methods inherited from class au.com.forward.logging.RobustFormatter |
---|
formatMessage, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoggingXMLFormatter()
Method Detail |
---|
protected java.lang.String newLineString()
newLineString
in class RobustFormatter
public java.lang.String getHead(java.util.logging.Handler h)
getHead
in class java.util.logging.Formatter
h
- The target handler.
public java.lang.String getTail(java.util.logging.Handler h)
getTail
in class java.util.logging.Formatter
h
- The target handler.
public java.lang.String format(java.util.logging.LogRecord record)
format
in class java.util.logging.Formatter
record
- the log record to be formatted.
|
Forward Computing and Control Pty. Ltd. Logging Package V1.3.0 2004/11/22 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |