|
Clearspace API (2.5.22) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.base.event.LogEvent
public class LogEvent
A class for log events. This class will be passed to LogListeners whenever a log event is fired and contains all the pertinent information to the event.
| Field Summary | |
|---|---|
static int |
DEBUG_EVENT
Event type for whenever a debug log event occurs. |
static int |
ERROR_EVENT
Event type for whenever an error log event occurs. |
static int |
FATAL_EVENT
Event type for whenever a fatal log event occurs. |
static int |
INFO_EVENT
Event type for whenever a info log event occurs. |
static int |
WARN_EVENT
Event type for whenever a warn log event occurs. |
| Constructor Summary | |
|---|---|
LogEvent(int eventType,
Map<String,? extends Object> params)
|
|
LogEvent(int eventType,
Map<String,? extends Object> params,
Throwable e,
String message)
|
|
| Method Summary | |
|---|---|
Date |
getDate()
|
int |
getEventType()
|
String |
getMessage()
|
Map<String,? extends Object> |
getParams()
|
Throwable |
getThrowable()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int FATAL_EVENT
public static final int ERROR_EVENT
public static final int WARN_EVENT
public static final int INFO_EVENT
public static final int DEBUG_EVENT
| Constructor Detail |
|---|
public LogEvent(int eventType,
Map<String,? extends Object> params)
public LogEvent(int eventType,
Map<String,? extends Object> params,
Throwable e,
String message)
| Method Detail |
|---|
public int getEventType()
getEventType in interface com.jivesoftware.community.JiveEventpublic Map<String,? extends Object> getParams()
getParams in interface com.jivesoftware.community.JiveEventpublic Throwable getThrowable()
public String getMessage()
public Date getDate()
getDate in interface com.jivesoftware.community.JiveEvent
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||