LoggingLevel

# LoggingLevel


enum LoggingLevel : Enum<Logger.LoggingLevel>

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
  • WARNING - enables error and warning logs
  • INFO - enables error, warning and info logs
  • DEBUG - enables error, warning, info and debug logs

Note: All logs are disabled on release builds

# Entries

NONE
NONE
Default
ERROR
ERROR
Enables only error logs.
WARNING
WARNING
Enables error and warning logs.
INFO
INFO
Enables error, warning and info logs.
DEBUG
DEBUG
Enables error, warning, info and debug logs.

# Properties

Name Summary
entries
val entries: EnumEntries<Logger.LoggingLevel>
Returns a representation of an immutable list of all enum entries, in the order they’re declared.
name
val name: String
ordinal
val ordinal: Int

# Functions

Name Summary
valueOf
fun valueOf(value: String): Logger.LoggingLevel
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values
fun values(): Array<Logger.LoggingLevel>
Returns an array containing the constants of this enum type, in the order they’re declared.