commonMain.com.toxicbakery.logging.ISeedling.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of arbor Show documentation
Show all versions of arbor Show documentation
Like Timber, just different.
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