|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.progeeks.util.log.LogEvent
public class LogEvent
Holds the information about a single logging event.
Constructor Summary | |
---|---|
LogEvent(org.apache.log4j.spi.LoggingEvent event)
|
Method Summary | |
---|---|
java.lang.String |
getContext()
Returns the context string for the event. |
LogLevel |
getLogLevel()
Returns the level of the logging event. |
java.lang.String |
getLogName()
Returns the name of the Log object that generated the event. |
java.lang.String |
getMessage()
Returns the application supplied logging message. |
java.lang.String |
getThreadName()
Returns the name of the thread in which this event was generated. |
java.lang.Throwable |
getThrowable()
Returns a Throwable object that may be attached to the event. |
long |
getTime()
Returns the system time at which the event occurred. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LogEvent(org.apache.log4j.spi.LoggingEvent event)
Method Detail |
---|
public java.lang.String getLogName()
public LogLevel getLogLevel()
public java.lang.String getContext()
public java.lang.String getMessage()
public java.lang.String getThreadName()
public java.lang.Throwable getThrowable()
public long getTime()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |