|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.sap.tc.logging.Formatter
|
+--com.sap.tc.logging.XMLFormatter
Formats log records as XML elements.
| Constructor Summary | |
XMLFormatter()
|
|
| Method Summary | |
java.lang.String |
format(LogRecord rec)
Formats a log record which is then ready to be written to a log. |
java.lang.String |
getFooter(Log log)
Returns the footer for a set of formatted records. |
java.lang.String |
getHeader(Log log)
Returns the header for a set of formatted records. |
| Methods inherited from class com.sap.tc.logging.Formatter |
equals, getFormatterName, getFormatterType, isCompleteMessage, isCompleteMessage, isParsable, isStartMessage, isStartMsg, parseMsg, parseMsg, setFormatterName |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLFormatter()
| Method Detail |
public java.lang.String format(LogRecord rec)
Formatterformat in class Formattercom.sap.tc.logging.Formatterrec - Log record to be formattedpublic java.lang.String getHeader(Log log)
FormattergetHeader in class Formattercom.sap.tc.logging.Formatterlog - Target log.public java.lang.String getFooter(Log log)
FormattergetFooter in class Formattercom.sap.tc.logging.Formatterlog - Target log
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||