Package com.microstrategy.utils.log
Class XMLFormatter3
- java.lang.Object
-
- com.microstrategy.utils.log.Formatter
-
- com.microstrategy.utils.log.XMLFormatter3
-
- Direct Known Subclasses:
XMLTracingFormatter2
public class XMLFormatter3 extends Formatter
Format a LogRecord into a XML format with data equivalent to that generated by MSTRLog- Since:
- MicroStrategy Web 8.0.1
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
lineSeparator
-
Constructor Summary
Constructors Constructor Description XMLFormatter3()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addLogInfo(LogRecord record, java.lang.StringBuffer sb)
java.lang.String
format(LogRecord record)
Format the given message to XML.protected java.lang.String
getStackTrace(java.lang.Throwable ex)
Duplicated from Formatter, so we can use this class in 75x.-
Methods inherited from class com.microstrategy.utils.log.Formatter
formatMessage, getExceptionMessage, getHead, getTail
-
-
-
-
Method Detail
-
addLogInfo
protected void addLogInfo(LogRecord record, java.lang.StringBuffer sb)
-
format
public java.lang.String format(LogRecord record)
Format the given message to XML.
-
getStackTrace
protected java.lang.String getStackTrace(java.lang.Throwable ex)
Duplicated from Formatter, so we can use this class in 75x.- Overrides:
getStackTrace
in classFormatter
-
-