All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.io.realm.log.LogLevel.kt Maven / Gradle / Ivy

Go to download

Library code for Realm Kotlin. This artifact is not supposed to be consumed directly, but through 'io.realm.kotlin:gradle-plugin:0.4.1' instead.

There is a newer version: 0.5.0
Show newest version
package io.realm.log

import io.realm.RealmConfiguration

/**
 * Enum describing the log levels available to Realms internal logger.
 *
 * Each log entry is assigned a priority between [TRACE] and [WTF]. If the log level is equal or higher
 * than the priority defined in [io.realm.RealmConfiguration.Builder.logLevel] the event will be logged.
 *
 * @see RealmConfiguration.Builder.log
 */
@Suppress("MagicNumber")
public enum class LogLevel(internal val priority: Int) {
    ALL(0),
    TRACE(1),
    DEBUG(2),
    INFO(3),
    WARN(4),
    ERROR(5),
    WTF(6),
    NONE(7)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy