File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/main/kotlin/com/baeldung/logging Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 7
7
<artifactId >kotlin-logging</artifactId >
8
8
<name >kotlin-logging</name >
9
9
<version >1.0-SNAPSHOT</version >
10
- <packaging >pom </packaging >
10
+ <packaging >jar </packaging >
11
11
12
12
<parent >
13
13
<artifactId >kotlin-modules</artifactId >
24
24
</dependencies >
25
25
26
26
<properties >
27
- <kotlin-logging-jvm .version>2 .0.10 </kotlin-logging-jvm .version>
27
+ <kotlin-logging-jvm .version>3 .0.5 </kotlin-logging-jvm .version>
28
28
</properties >
29
29
</project >
Original file line number Diff line number Diff line change @@ -8,14 +8,14 @@ import mu.KotlinLogging
8
8
private val staticLogger = KotlinLogging .logger {}
9
9
10
10
class ClassForImportantWork1 {
11
- companion object : KLogging ()
11
+ companion object : KLogging ()
12
12
13
13
fun importantWork () {
14
14
logger.debug { " I'm logging via companion object" }
15
15
}
16
16
}
17
17
18
- class ClassForImportantWork2 : KLoggable {
18
+ class ClassForImportantWork2 : KLoggable {
19
19
override val logger: KLogger = logger()
20
20
21
21
fun importantWork () {
You can’t perform that action at this time.
0 commit comments