com.sap.tc.logging
Class XMLFormatter
java.lang.Object
com.sap.tc.logging.Formatter
com.sap.tc.logging.XMLFormatter
public class XMLFormatter
- extends Formatter
Formats log records as XML elements.
| Fields inherited from class com.sap.tc.logging.Formatter |
EOL |
| Methods inherited from class com.sap.tc.logging.Formatter |
equals, getFormatterName, getFormatterType, getMessageAccessor, getMessageBuilder, isCompleteMessage, isCompleteMessage, isParsable, isStartMessage, isStartMsg, parseMsg, parseMsg, parseMsg, setFormatterName, setMessageAccessor |
XMLFormatter
public XMLFormatter()
format
public String format(LogRecord rec)
- Description copied from class:
Formatter
- Formats a log record which is then ready to be written to a log.
- Specified by:
format in class Formatter
- Parameters:
rec - Log record to be formatted
- Returns:
- Formatted log record
getHeader
public String getHeader(Log log)
- Description copied from class:
Formatter
- Returns the header for a set of formatted records.
- Overrides:
getHeader in class Formatter
- Parameters:
log - Target log.
- Returns:
- Header
getFooter
public String getFooter(Log log)
- Description copied from class:
Formatter
- Returns the footer for a set of formatted records.
- Overrides:
getFooter in class Formatter
- Parameters:
log - Target log
- Returns:
- Footer
escape
protected StringBuffer escape(String s,
StringBuffer buf)
This class can be accessed from:
|
SC
|
DC
|
[sap.com] FRAMEWORK
|
[sap.com] tc/ddic/ddicruntime
|
[sap.com] ENGINEAPI
|
[sap.com] tc/logging
|
[sap.com] ENGFACADE
|
[sap.com] tc/bl/logging/api
|
[sap.com] CORE-TOOLS
|
[sap.com] com.sap.engine.client.lib
|
[sap.com] BRMS-FACADE
|
[sap.com] tc/brms/facade
|
Copyright 2010 SAP AG Complete Copyright Notice