com.brightcove.player.event

## Interface EventLogger.LoggerCallback

- Enclosing class:
    EventLogger

      public static interface EventLogger.LoggerCallback

  This interface provides a way implement alternative logging. By default EventLogger writes all messages to logcat. If another method of logging is preferred, a class implementing this interface can be registered with either `EventLogger.EventLogger(EventEmitter, boolean, LoggerCallback)` or `EventLogger.EventLogger(EventEmitter, boolean, String, LoggerCallback)` and all log messages will be sent to that class.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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.

- - ### Method Detail

    - #### logMessage

          void logMessage(java.lang.String message)

      Called when a message should be logged.
      Parameters:
        `message` - The message to log

    - #### logError

          void logError(java.lang.String message,
                        java.lang.Throwable throwable)

      Called when an error should be logged.
      Parameters:
        `message` - The message associated with the error.
        `throwable` - The error that occurred.