diff --git a/src/commonMain/kotlin/io/github/oshai/kotlinlogging/DelegatingKLogger.kt b/src/commonMain/kotlin/io/github/oshai/kotlinlogging/DelegatingKLogger.kt new file mode 100644 index 00000000..f468588d --- /dev/null +++ b/src/commonMain/kotlin/io/github/oshai/kotlinlogging/DelegatingKLogger.kt @@ -0,0 +1,6 @@ +package io.github.oshai.kotlinlogging + +public interface DelegatingKLogger { + /** The actual logger executing logging */ + public val underlyingLogger: T +} diff --git a/src/commonMain/kotlin/io/github/oshai/kotlinlogging/KLogger.kt b/src/commonMain/kotlin/io/github/oshai/kotlinlogging/KLogger.kt index 2bce707f..109fba4e 100644 --- a/src/commonMain/kotlin/io/github/oshai/kotlinlogging/KLogger.kt +++ b/src/commonMain/kotlin/io/github/oshai/kotlinlogging/KLogger.kt @@ -852,8 +852,3 @@ public interface KLogger { @Deprecated("Use error instead", ReplaceWith("error(t, marker, msg)")) public fun error(marker: Marker?, msg: String?, t: Throwable?): Unit = error(t, marker) { msg } } - -public interface DelegatingKLogger { - /** The actual logger executing logging */ - public val underlyingLogger: T -}