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

commonTest.com.toxicbakery.logging.ISeedlingTest.kt Maven / Gradle / Ivy

There is a newer version: 1.40.86
Show newest version
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