public static interface EventLogger.LoggerCallback
EventLogger.EventLogger(EventEmitter, boolean, LoggerCallback)
or
EventLogger.EventLogger(EventEmitter, boolean, String, LoggerCallback)
and all log messages will be
sent to that class.Modifier and Type | Method and Description |
---|---|
void |
logError(java.lang.String message,
java.lang.Throwable throwable)
Called when an error should be logged.
|
void |
logMessage(java.lang.String message)
Called when a message should be logged.
|
void logMessage(java.lang.String message)
message
- The message to logvoid logError(java.lang.String message, java.lang.Throwable throwable)
message
- The message associated with the error.throwable
- The error that occurred.