public class LogEvent extends RenderableOutputEvent
| Constructor and Description |
|---|
LogEvent(long timestamp,
java.lang.String category,
LogLevel logLevel,
java.lang.String message,
java.lang.Throwable throwable) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage() |
java.lang.Throwable |
getThrowable() |
void |
render(StyledTextOutput output)
Renders this event to the given output.
|
java.lang.String |
toString() |
getCategory, getLogLevel, getTimestamppublic LogEvent(long timestamp,
java.lang.String category,
LogLevel logLevel,
java.lang.String message,
java.lang.Throwable throwable)
public java.lang.String getMessage()
public java.lang.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.public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2013. All rights reserved