Skip to content

Commit 7cfb001

Browse files
authored
Update LoggingContext.kt
1 parent 5f15b81 commit 7cfb001

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
package com.baeldung.logging
22

3-
import mu.KotlinLogging
4-
import mu.withLoggingContext
3+
import io.github.oshai.kotlinlogging.KotlinLogging
4+
import io.github.oshai.kotlinlogging.withLoggingContext
55

66
private val logger = KotlinLogging.logger {}
77

88
fun main() {
99
withLoggingContext("user" to "Baeldung") {
1010
logger.info { "Log with MDC" }
1111
}
12-
}
12+
}

0 commit comments

Comments
 (0)