MiraclLogger

# MiraclLogger

# 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 DefaultMiraclLogger.

interface MiraclLogger

# See also

Name Summary
LogLevel



# Types

Name Summary
LogLevel
Brief description




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



Available log levels are:

  • NONE (default) - disables all output
  • ERROR - enables only error logs
  • INFO - enables error and info logs
  • DEBUG - enables error, info and debug logs


Note: All logs are disabled on release builds




Content
enum LogLevel : Enum<MiraclLogger.LogLevel>


# Functions

Name Summary
debug
Brief description


Writes a DEBUG level log using the provided implementation.


Content
abstract fun debug(logTag: String, message: String)


equals
Content
open operator override fun equals(other: Any?): Boolean


error
Brief description


Writes an ERROR level log using the provided implementation.


Content
abstract fun error(logTag: String, message: String)


hashCode
Content
open override fun hashCode(): Int


info
Brief description


Writes an INFO level log using the provided implementation.


Content
abstract fun info(logTag: String, message: String)


toString
Content
open override fun toString(): String