org.gudy.azureus2.core3.logging
Class LogEvent

java.lang.Object
  extended by org.gudy.azureus2.core3.logging.LogEvent

public class LogEvent
extends Object

Container to hold Log Event information.

Author:
TuxPaper

Field Summary
 int entryType
          Type of entry, usually one of Event.LT_* constants
 Throwable err
          Error related to event
 LogIDs logID
          Log ID, categorizing the event
static int LT_ERROR
           
static int LT_INFORMATION
           
static int LT_WARNING
           
 Object[] relatedTo
          A list of events that this entry is related to
 String text
          Text of the event
 Date timeStamp
          Date and Time this event occurred
 
Constructor Summary
LogEvent(LogIDs logID, int entryType, String text)
           
LogEvent(LogIDs logID, int entryType, String text, Throwable e)
           
LogEvent(LogIDs logID, String text)
           
LogEvent(LogIDs logID, String text, Throwable e)
           
LogEvent(Object[] relatedTo, LogIDs logID, int entryType, String text)
           
LogEvent(Object[] relatedTo, LogIDs logID, int entryType, String text, Throwable e)
           
LogEvent(Object[] relatedTo, LogIDs logID, String text)
           
LogEvent(Object[] relatedTo, LogIDs logID, String text, Throwable e)
           
LogEvent(Object relatedTo, LogIDs logID, int entryType, String text)
           
LogEvent(Object relatedTo, LogIDs logID, String text)
           
LogEvent(Object relatedTo, LogIDs logID, String text, Throwable e)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LT_INFORMATION

public static final int LT_INFORMATION
See Also:
Constant Field Values

LT_WARNING

public static final int LT_WARNING
See Also:
Constant Field Values

LT_ERROR

public static final int LT_ERROR
See Also:
Constant Field Values

timeStamp

public Date timeStamp
Date and Time this event occurred


relatedTo

public final Object[] relatedTo
A list of events that this entry is related to


logID

public final LogIDs logID
Log ID, categorizing the event


entryType

public final int entryType
Type of entry, usually one of Event.LT_* constants


text

public String text
Text of the event


err

public Throwable err
Error related to event

Constructor Detail

LogEvent

public LogEvent(Object[] relatedTo,
                LogIDs logID,
                int entryType,
                String text)

LogEvent

public LogEvent(Object relatedTo,
                LogIDs logID,
                int entryType,
                String text)

LogEvent

public LogEvent(LogIDs logID,
                int entryType,
                String text)

LogEvent

public LogEvent(Object[] relatedTo,
                LogIDs logID,
                String text)

LogEvent

public LogEvent(Object relatedTo,
                LogIDs logID,
                String text)

LogEvent

public LogEvent(LogIDs logID,
                String text)

LogEvent

public LogEvent(Object[] relatedTo,
                LogIDs logID,
                int entryType,
                String text,
                Throwable e)

LogEvent

public LogEvent(Object[] relatedTo,
                LogIDs logID,
                String text,
                Throwable e)

LogEvent

public LogEvent(Object relatedTo,
                LogIDs logID,
                String text,
                Throwable e)

LogEvent

public LogEvent(LogIDs logID,
                int entryType,
                String text,
                Throwable e)

LogEvent

public LogEvent(LogIDs logID,
                String text,
                Throwable e)