kotlin-logging
kotlin-logging copied to clipboard
Lightweight Multiplatform logging framework for Kotlin. A convenient and performant logging facade.
implementation 'io.github.microutils:kotlin-logging:2.0.11' implementation 'org.slf4j:slf4j-simple:1.7.36' implementation 'org.slf4j:slf4j-api:1.7.36' With these library i can't see any log using Android val klog = KotlinLogging.logger{}
would be nice to have a shortcut for single MDC logging. I would like to write code like this ```kotlin log.info { "add Item to basket".fields("accountId" to "123456789", "itemId" to...
Version 2.x released last September, more than half year ago. I would like to stop supporting and deprecate version 1.x, mostly since the move out of jcenter might complicate back-porting...
The README refers to slf4j in several places, which reads as if kotlin-logging would work for the the JVM target only. But to my understanding Kotlin multi-platform support has been...
It seems that the whole fuzz around logging is to not create "expensive" `String` object, if logging level is not enabled. That totally makes sense. And that's why we library...
Everything seems to work great on JVM, JS, and macosX64, but I'm getting a mess of linker errors when trying to use this library with macosArm64 (M1 MacBook Air).
I would be nice to use annotation on class, which can inject default logger for this class as field, like @Slf4j annotation in java, that inject log field.
Added some basic extensions for markers.
* Added [Gradle version catalog](https://docs.gradle.org/current/userguide/platforms.html) * Added shared IDEA configuration (minimal requirements) * Upgrading Gradle plugins versions * Upgrading Gradle version * refactoring Gradle Actions * Raised minimal Kotlin version...