commonTest.com.toxicbakery.logging.ISeedlingTest.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
import kotlin.test.Test
class ISeedlingTest {
@Test
fun log() {
val seedling = object : ISeedling {
override val tag: String = "tag"
override fun log(
level: Int,
tag: String,
msg: String,
throwable: Throwable?,
args: Array?
) = Unit
}
seedling.log(level = Arbor.DEBUG, msg = "")
seedling.log(level = Arbor.DEBUG, tag = "", msg = "")
seedling.log(level = Arbor.DEBUG, tag = "", msg = "", throwable = Exception())
seedling.log(level = Arbor.DEBUG, msg = "", throwable = Exception())
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy