LogEventpublic class LogEvent extends Object Container to hold Log Event information. |
Fields Summary |
---|
public static final int | LT_INFORMATION | public static final int | LT_WARNING | public static final int | LT_ERROR | public Date | timeStampDate and Time this event occurred | public Object[] | relatedToA list of events that this entry is related to | public LogIDs | logIDLog ID, categorizing the event | public int | entryTypeType of entry, usually one of Event.LT_* constants | public String | textText of the event | public Throwable | errError related to event |
Constructors Summary |
---|
public LogEvent(Object[] relatedTo, LogIDs logID, int entryType, String text)
this.logID = logID;
this.entryType = entryType;
this.text = text;
this.relatedTo = relatedTo;
| public LogEvent(LogIDs logID, int entryType, String text, Throwable e)
this(null, logID, entryType, text, e);
| public LogEvent(LogIDs logID, String text, Throwable e)
this(null, logID, text, e);
| public LogEvent(Object relatedTo, LogIDs logID, int entryType, String text)
this(new Object[] { relatedTo }, logID, entryType, text);
| public LogEvent(LogIDs logID, int entryType, String text)
this(null, logID, entryType, text);
| public LogEvent(Object[] relatedTo, LogIDs logID, String text)
this(relatedTo, logID, LT_INFORMATION, text);
| public LogEvent(Object relatedTo, LogIDs logID, String text)
this(new Object[] { relatedTo }, logID, LT_INFORMATION, text);
| public LogEvent(LogIDs logID, String text)
this(null, logID, LT_INFORMATION, text);
| public LogEvent(Object[] relatedTo, LogIDs logID, int entryType, String text, Throwable e)
this(relatedTo, logID, entryType, text);
this.err = e;
| public LogEvent(Object[] relatedTo, LogIDs logID, String text, Throwable e)
this(relatedTo, logID, LT_ERROR, text, e);
| public LogEvent(Object relatedTo, LogIDs logID, String text, Throwable e)
this(new Object[] { relatedTo }, logID, text, e);
|
|