commonMain.io.realm.log.RealmLogger.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of library Show documentation
Show all versions of library Show documentation
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.
package io.realm.log
import io.realm.RealmConfiguration
/**
* Interface describing a logger implementation.
*
* @see RealmConfiguration.Builder.log
*/
interface RealmLogger {
/**
* Tag that can be used to describe the output.
*/
val tag: String
/**
* Log an event.
*/
fun log(level: LogLevel, throwable: Throwable?, message: String?, vararg args: Any?)
}