|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.logging.log4j.status.StatusData
public class StatusData
The Status data.
Constructor Summary | |
---|---|
StatusData(StackTraceElement caller,
Level level,
Message msg,
Throwable t)
Creates the StatusData object. |
Method Summary | |
---|---|
String |
getFormattedStatus()
Formats the StatusData for viewing. |
Level |
getLevel()
Returns the logging level for the event. |
Message |
getMessage()
Returns the message associated with the event. |
StackTraceElement |
getStackTraceElement()
Returns the StackTraceElement for the method that created the event. |
Throwable |
getThrowable()
Returns the Throwable associated with the event. |
long |
getTimestamp()
Returns the event's timestamp. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StatusData(StackTraceElement caller, Level level, Message msg, Throwable t)
caller
- The method that created the event.level
- The logging level.msg
- The message String.t
- The Error or Exception that occurred.Method Detail |
---|
public long getTimestamp()
public StackTraceElement getStackTraceElement()
public Level getLevel()
public Message getMessage()
public Throwable getThrowable()
public String getFormattedStatus()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.