jvmMain.kr.jadekim.logger.JLogJvm.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of j-logger-jvm Show documentation
Show all versions of j-logger-jvm Show documentation
Logging Library for Kotlin
package kr.jadekim.logger
import kr.jadekim.logger.integration.JulLogger
import kotlin.reflect.KClass
internal actual fun init() {
JulLogger.removeHandlersForRootLogger()
JulLogger.install()
}
fun JLog.get(klass: KClass<*>) = get(klass.qualifiedName ?: klass.java.canonicalName)
fun JLog.get(clazz: Class<*>) = get(clazz.canonicalName)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy