public class StatusData extends Object implements Serializable
Constructor and Description |
---|
StatusData(StackTraceElement caller,
Level level,
Message msg,
Throwable t,
String threadName)
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(StackTraceElement caller, 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 namepublic long getTimestamp()
public StackTraceElement getStackTraceElement()
public Level getLevel()
public Message getMessage()
public String getThreadName()
public Throwable getThrowable()
public String getFormattedStatus()
Copyright © 2021 JBoss by Red Hat. All rights reserved.