LogLevel

# LogLevel

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

Available log levels are:

  • [*NONE*](/resources/docs/references/android/com.miracl.trust.util.log/-miracl-logger/-log-level/-n-o-n-e/) (default) - disables all output
  • [*ERROR*](/resources/docs/references/android/com.miracl.trust.util.log/-miracl-logger/-log-level/-e-r-r-o-r/) - enables only error logs
  • [*INFO*](/resources/docs/references/android/com.miracl.trust.util.log/-miracl-logger/-log-level/-i-n-f-o/) - enables error and info logs
  • [*DEBUG*](/resources/docs/references/android/com.miracl.trust.util.log/-miracl-logger/-log-level/-d-e-b-u-g/) - enables error, info and debug logs

Note: All logs are disabled on release builds

enum LogLevel : Enum<MiraclLogger.LogLevel>

# Entries

Name Summary
NONE



Default



Disables all output.



NONE()


ERROR

Enables only error logs.

ERROR()


INFO

Enables error and info logs.

INFO()


DEBUG

Enables error, info and debug logs.

DEBUG()


# Functions

Name Summary
compareTo
Content
operator override fun compareTo(other: MiraclLogger.LogLevel): Int


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


finalize
Content
override fun finalize()


getDeclaringClass
Content
override fun getDeclaringClass(): Class<MiraclLogger.LogLevel>


hashCode
Content
override fun hashCode(): Int


toString
Content
open override fun toString(): String


# Properties

Name Summary
name override val name: String
ordinal override val ordinal: Int