-
public interface EventLogger.LoggerCallback
This interface provides a way implement alternative logging. By default EventLogger writes all messages tologcat. If another method of logging is preferred, a class implementing this interface can be registeredwith either EventLogger or EventLogger and all log messages will besent to that class.
-
-
Method Summary
Modifier and Type Method Description abstract void
logMessage(String message)
Called when a message should be logged. abstract void
logError(String message, Throwable throwable)
Called when an error should be logged. -
-
Method Detail
-
logMessage
abstract void logMessage(String message)
Called when a message should be logged.
- Parameters:
message
- The message to log
-
-
-
-