net.sf.logdistiller.logtypes
Class Log4jXmlLogEvent

java.lang.Object
  extended by net.sf.logdistiller.LogEvent
      extended by 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.


Field Summary
 String datetime
           
static LogType.Description DESCRIPTION
           
static String ID
           
 String level
           
 String locationInfoClass
           
 String locationInfoFile
           
 String locationInfoLine
           
 String locationInfoMethod
           
 String logger
           
static LogType LOGTYPE
           
 String message
           
 String ndc
           
 String thread
           
 String throwable
           
 String timestamp
           
 long timestampValue
           
 
Constructor Summary
Log4jXmlLogEvent(net.sf.logdistiller.logtypes.Log4jXmlLogEvent.Factory factory, String rawLog)
           
 
Method Summary
 int compareTo(Object o)
           
static String unescapeCDATA(String cdata)
           
 
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
 

Field Detail

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
Constructor Detail

Log4jXmlLogEvent

public Log4jXmlLogEvent(net.sf.logdistiller.logtypes.Log4jXmlLogEvent.Factory factory,
                        String rawLog)
                 throws ParseException
Throws:
ParseException
Method Detail

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.