Logger

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

com.miracl.trust.util.log.Logger.LoggingLevel

Types

Name Summary
LoggingLevel
enum LoggingLevel : Enum<Logger.LoggingLevel>
Controls which logs to be written to the console when using a debug build of the SDK.

Functions

Name Summary
debug
abstract fun debug(logTag: String, message: String)
Writes a DEBUG level log using the provided implementation.
error
abstract fun error(logTag: String, message: String)
Writes an ERROR level log using the provided implementation.
info
abstract fun info(logTag: String, message: String)
Writes an INFO level log using the provided implementation.
warning
abstract fun warning(logTag: String, message: String)
Writes a WARNING level log using the provided implementation.