public interface EventAdapter<T>
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName(T event)
Returns the class name from the log event
|
LogMsg |
getLogMsg(T event,
StackifyError error)
Builds a LogMsg from the logging event
|
StackifyError |
getStackifyError(T event,
Throwable exception)
Builds a StackifyError from the logging event
|
Throwable |
getThrowable(T event)
Gets the Throwable (optional) from the logging event
|
boolean |
isErrorLevel(T event)
Returns true if the event was logged at an error level
|
Throwable getThrowable(T event)
event - The logging eventStackifyError getStackifyError(T event, Throwable exception)
event - The logging eventexception - The exceptionLogMsg getLogMsg(T event, StackifyError error)
event - The logging eventerror - The exception (optional)boolean isErrorLevel(T event)
event - The logging eventCopyright © 2018 Stackify, LLC. All rights reserved.