main.kotlin.com.intuit.playerui.utils.test.TestLogger.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testutils Show documentation
Show all versions of testutils Show documentation
A cross-platform semantic rendering engine
The newest version!
package com.intuit.playerui.utils.test
import com.intuit.playerui.core.plugins.LoggerPlugin
public object TestLogger : LoggerPlugin {
override fun trace(vararg args: Any?): Unit = print("TRACE", *args)
override fun debug(vararg args: Any?): Unit = print("DEBUG", *args)
override fun info(vararg args: Any?): Unit = print("INFO", *args)
override fun warn(vararg args: Any?): Unit = print("WARN", *args)
override fun error(vararg args: Any?): Unit = print("ERROR", *args)
private fun print(level: String, vararg args: Any?) = println("$level: ${args.joinToString()}")
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy