LogListener Interface

Interface for receiving log messages. Implement this interface to handle log messages in a custom way.

Target: androidJvm



Called when a log message is generated.

ParameterTypeDescription
levelLogLevelThe severity level of the log message
tagStringA string identifier for the log source
messageStringThe log message content
throwableThrowable?An optional exception associated with the log

Default Android log listener that writes to LogCat. This is the default implementation used by the SDK.


To implement a custom log listener: