File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/main/kotlin/com/softwareplace/json/logger/log Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent.SKIPPED
44
55plugins {
66 `maven- publish`
7+ `kotlin- dsl`
78 kotlin(" jvm" ) version " 1.7.22"
89}
910
@@ -39,7 +40,7 @@ dependencies {
3940 implementation(" com.fasterxml.jackson.module:jackson-module-kotlin:2.14.0" )
4041 implementation(" com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.14.0" )
4142
42- implementation(" org.springframework.boot:spring-boot-starter-logging :2.7.2" )
43+ implementation(" org.springframework.boot:spring-boot-starter-log4j2 :2.7.2" )
4344
4445 testImplementation(" org.junit.jupiter:junit-jupiter:5.9.0" )
4546 testImplementation(" org.mockito.kotlin:mockito-kotlin:4.1.0" )
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import org.slf4j.Logger
77import org.slf4j.LoggerFactory
88
99
10- inline fun <reified T : Any > T.logger () = LoggerFactory .getLogger(T ::class .java)
10+ inline fun <reified T : Any > T.logger (): Logger = LoggerFactory .getLogger(T ::class .java)
1111
1212private data class LoggerModel (
1313 val message : String? ,
You can’t perform that action at this time.
0 commit comments