public class StatusData extends Objectimplements Serializable
| Constructor and Description |
|---|
StatusData(StackTraceElement
Creates the StatusData object.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
getThreadName()
|
Throwable |
getThrowable()
Returns the Throwable associated with the event.
|
long |
getTimestamp()
Returns the event's timestamp.
|
public StatusData(StackTraceElementcaller, Level level, Message msg, Throwable t, String threadName)
caller - The method that created the event.
level - The logging level.
msg - The message String.
t - The Error or Exception that occurred.
threadName - The thread name
public long getTimestamp()
public StackTraceElementgetStackTraceElement()
public LevelgetLevel()
public MessagegetMessage()
public StringgetThreadName()
public ThrowablegetThrowable()
public StringgetFormattedStatus()