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

commonMain.com.toxicbakery.logging.ISeedling.kt Maven / Gradle / Ivy

There is a newer version: 1.40.86
Show newest version
package com.toxicbakery.logging

/**
 * The root logging interface.
 */
interface ISeedling {

    /**
     * A static or dynamically generated tag for logging.
     */
    val tag: String

    /**
     * A request to perform logging.
     */
    fun log(
        level: Int,
        tag: String = "",
        msg: String,
        throwable: Throwable? = null,
        args: Array? = null
    )

    /**
     * A request to perform logging.
     */
    fun log(
        level: Int,
        tag: String,
        msg: () -> String
    ) = log(level, tag, msg())

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy