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.
| Parameter | Type | Description |
|---|---|---|
level | LogLevel | The severity level of the log message |
tag | String | A string identifier for the log source |
message | String | The log message content |
throwable | Throwable? | 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: