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

jvmMain.kr.jadekim.logger.JLogJvm.kt Maven / Gradle / Ivy

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