| Modifier and Type | Field and Description |
|---|---|
| private final StackTraceElement | |
| private final Level | |
| private final Message | |
| private static final long | |
| private String | |
| private final Throwable | |
| private final long |
| Access | Constructor and Description |
|---|---|
| public | StatusData(final StackTraceElement
The method that created the event. caller, final Level The logging level. level, final Message The message String. msg, final Throwable The Error or Exception that occurred. t, final String The thread name threadName)Creates the StatusData object. |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: The formatted status data as a String.Formats the StatusData for viewing. |
| public Level | |
| public Message | Returns: The message associated with the event.Returns the message associated with the event. |
| public StackTraceElement | Returns: The StackTraceElement.Returns the StackTraceElement for the method that created the event. |
| public String | |
| public Throwable | Returns: The Throwable associated with the event.Returns the Throwable associated with the event. |
| public long | |
| public String |
| caller | back to summary |
|---|---|
| private final StackTraceElement caller | |
| level | back to summary |
|---|---|
| private final Level level | |
| msg | back to summary |
|---|---|
| private final Message msg | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| threadName | back to summary |
|---|---|
| private String threadName | |
| throwable | back to summary |
|---|---|
| private final Throwable throwable | |
| timestamp | back to summary |
|---|---|
| private final long timestamp | |
| StatusData | back to summary |
|---|---|
| public StatusData(final StackTraceElement caller, final Level level, final Message msg, final Throwable t, final String threadName) Creates the StatusData object.
| |
| getFormattedStatus | back to summary |
|---|---|
| public String getFormattedStatus() Formats the StatusData for viewing.
| |
| getLevel | back to summary |
|---|---|
| public Level getLevel() Returns the logging level for the event.
| |
| getMessage | back to summary |
|---|---|
| public Message getMessage() Returns the message associated with the event.
| |
| getStackTraceElement | back to summary |
|---|---|
| public StackTraceElement getStackTraceElement() Returns the StackTraceElement for the method that created the event.
| |
| getThreadName | back to summary |
|---|---|
| public String getThreadName() | |
| getThrowable | back to summary |
|---|---|
| public Throwable getThrowable() Returns the Throwable associated with the event.
| |
| getTimestamp | back to summary |
|---|---|
| public long getTimestamp() Returns the event's timestamp.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Used in tests
| |