net.sf.logdistiller.logtypes
Class Log4jXmlLogEvent
java.lang.Object
net.sf.logdistiller.LogEvent
net.sf.logdistiller.logtypes.Log4jXmlLogEvent
- All Implemented Interfaces:
- Comparable
public class Log4jXmlLogEvent
- extends LogEvent
- implements Comparable
Log event for log4j XMLLayout (log4j-XML
). By default, the classification rules generated by the GUI for
this type of logs will sort events based on the following attributes: level
, then logger
.
Constructor Summary |
Log4jXmlLogEvent(net.sf.logdistiller.logtypes.Log4jXmlLogEvent.Factory factory,
String rawLog)
|
Methods inherited from class net.sf.logdistiller.LogEvent |
checkInitialized, dump, dump, getAttribute, getAttribute, getAttributes, getAttributesCount, getFactory, getRawLog, getTimestamp, getValue, setAttributes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final String ID
- See Also:
- Constant Field Values
logger
public final String logger
timestamp
public final String timestamp
datetime
public final String datetime
timestampValue
public final long timestampValue
level
public final String level
thread
public final String thread
message
public final String message
ndc
public final String ndc
throwable
public final String throwable
locationInfoClass
public final String locationInfoClass
locationInfoMethod
public final String locationInfoMethod
locationInfoFile
public final String locationInfoFile
locationInfoLine
public final String locationInfoLine
LOGTYPE
public static final LogType LOGTYPE
DESCRIPTION
public static final LogType.Description DESCRIPTION
Log4jXmlLogEvent
public Log4jXmlLogEvent(net.sf.logdistiller.logtypes.Log4jXmlLogEvent.Factory factory,
String rawLog)
throws ParseException
- Throws:
ParseException
unescapeCDATA
public static String unescapeCDATA(String cdata)
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
Copyright © 2004-2009. All Rights Reserved.