Logger

interface Logger

A type representing message logger

Some important and useful information will be outputted through this interface while a debug build.

By default this SDK uses a concrete implementation of this interface DefaultLogger.

See also

Types

Link copied to clipboard

Controls which logs to be written to the console when using a debug build of the SDK.

Functions

Link copied to clipboard
abstract fun debug(logTag: String, message: String)

Writes a DEBUG level log using the provided implementation.

Link copied to clipboard
abstract fun error(logTag: String, message: String)

Writes an ERROR level log using the provided implementation.

Link copied to clipboard
abstract fun info(logTag: String, message: String)

Writes an INFO level log using the provided implementation.

Link copied to clipboard
abstract fun warning(logTag: String, message: String)

Writes a WARNING level log using the provided implementation.