com.sap.netweaver.bc.rf.util.logging

Class LoggingFormatter

java.lang.Object
  extended by com.sap.tc.logging.Formatter
      extended by com.sap.tc.logging.TraceFormatter
          extended by com.sap.netweaver.bc.rf.util.logging.LoggingFormatter

public class LoggingFormatter
extends com.sap.tc.logging.TraceFormatter

Trace formatter formatting logging output.


Field Summary
 
Fields inherited from class com.sap.tc.logging.TraceFormatter
CENTER, INVALID_MSG_PATTERN, LEFT, MIN, RIGHT, SUPPRESS
 
Fields inherited from class com.sap.tc.logging.Formatter
EOL
 
Constructor Summary
LoggingFormatter()
           
 
Method Summary
static String extractCallstack(Throwable throwable)
          Extract callstack from throwable.
 String format(com.sap.tc.logging.LogRecord rec)
          Format log record.
static void main(String[] args)
           
 
Methods inherited from class com.sap.tc.logging.TraceFormatter
align, getPattern, isCompleteMessage, isHeaderless, isParsable, isStartMessage, parseMsg, parseMsg, setPattern
 
Methods inherited from class com.sap.tc.logging.Formatter
equals, getFooter, getFormatterName, getFormatterType, getHeader, getMessageAccessor, getMessageBuilder, isCompleteMessage, isStartMsg, parseMsg, setFormatterName, setMessageAccessor
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingFormatter

public LoggingFormatter()
Method Detail

extractCallstack

public static String extractCallstack(Throwable throwable)
Extract callstack from throwable.

Parameters:
throwable - throwable
Returns:
callstack

format

public String format(com.sap.tc.logging.LogRecord rec)
Format log record.

Overrides:
format in class com.sap.tc.logging.TraceFormatter
Parameters:
rec - log record
Returns:
formatted log record

main

public static void main(String[] args)
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM


Copyright 2011 SAP AG Complete Copyright Notice