public class LogEvent extends RenderableOutputEvent
| Constructor and Description |
|---|
LogEvent(long timestamp,
String category,
LogLevel logLevel,
String message,
Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
Throwable |
getThrowable() |
void |
render(StyledTextOutput output)
Renders this event to the given output.
|
String |
toString() |
getCategory, getLogLevel, getTimestamppublic String getMessage()
public Throwable getThrowable()
public void render(StyledTextOutput output)
RenderableOutputEventStyledTextOutput.Style.Normal. The style will be reset after the rendering is complete, so
there is no need for this method to clean up the style.render in class RenderableOutputEventoutput - The output to render to.Copyright © 2013. All rights reserved