Logger

Simple logging abstraction for debug messages. Just implement this interface and add the full class name of the implementation to the JSON configuration file like so:

Example

If the implementation of Logger is your.package.LoggerImplementation:

{
    ...
    "logger": "your.package.LoggerImplementation",
    ...
}

See configuration

Public methods

log(String message)

Logs a debug message.


logException(Throwable t)

Reports all exceptions thrown from within the analytics SDK


visibleLog(String message)

Makes a UI-visible report of a string