public final class LogEvent extends Object
ComponentsLogger
. There are two kind of events,
performance events and regular events. Performance events track the time between instantiation
and being logged while regular events do not. A LogEvent
is created by requesting a new
event from the ComponentsLogger
and they are recycled when logged and should not be
re-used.Modifier and Type | Method and Description |
---|---|
void |
addParam(String key,
Object value) |
boolean |
equals(Object o) |
int |
getEventId() |
<T> T |
getParam(String paramMessage) |
int |
getParamCount() |
String |
getParamKeyAt(int index) |
<T> T |
getParamValueAt(int index) |
boolean |
isPerformanceEvent() |
String |
toString() |
public int getEventId()
public boolean isPerformanceEvent()
public int getParamCount()
public String getParamKeyAt(int index)
public <T> T getParamValueAt(int index)
public <T> T getParam(String paramMessage)