Skip to content

Commit f9a464d

Browse files
committed
refactor: migration to kotlin logging 7.0.0
1 parent 48366cb commit f9a464d

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

dependency-tracking/src/commonMain/kotlin/org/modelix/incremental/DependencyTracking.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package org.modelix.incremental
22

33
object DependencyTracking {
4-
private val logger = mu.KotlinLogging.logger {}
4+
private val logger = io.github.oshai.kotlinlogging.KotlinLogging.logger {}
55
private var listeners: List<IDependencyListener> = emptyList()
66

77
fun registerListener(l: IDependencyListener) {

gradle/libs.versions.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ gitVersion = { id = "com.palantir.git-version", version = "3.1.0" }
1616
[libraries]
1717

1818
kotlin-benchmark-runtime = { group = "org.jetbrains.kotlinx", name = "kotlinx-benchmark-runtime", version.ref = "kotlinBenchmark" }
19-
kotlin-logging = { group = "io.github.microutils", name = "kotlin-logging", version = "3.0.5" }
19+
kotlin-logging = { group = "io.github.oshai", name = "kotlin-logging", version = "7.0.0" }
2020
kotlin-coroutines-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version.ref = "kotlinCoroutines" }
2121
kotlin-coroutines-swing = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-swing", version.ref = "kotlinCoroutines" }
2222
kotlin-coroutines-test = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-test", version.ref = "kotlinCoroutines" }
2323
kotlin-collections-immutable = { group = "org.jetbrains.kotlinx", name = "kotlinx-collections-immutable", version = "0.3.7" }
2424
kotlin-stdlib-common = { group = "org.jetbrains.kotlin", name = "kotlin-stdlib-common", version.ref = "kotlin" }
25+
logback-classic = { group = "ch.qos.logback", name = "logback-classic", version = "1.5.6" }

incremental/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ kotlin {
4848
dependencies {
4949
implementation(kotlin("test"))
5050
implementation(kotlin("test-junit"))
51+
implementation(libs.logback.classic)
5152
}
5253
}
5354
val jsMain by getting {

0 commit comments

Comments
 (0)