From dc50977c9a0c921665d8e09d17eeedc4ceae438e Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Thu, 13 Apr 2023 10:33:13 +0600 Subject: [PATCH] KSLog factory fix --- CHANGELOG.md | 2 ++ src/commonMain/kotlin/KSLog.kt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d7aab1d..b2d7939 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## 1.1.1 +* Rollback `KSLog` with `String` arg factory to use `DefaultKSLog` + ## 1.1.0 * `Kotlin`: `1.8.20` diff --git a/src/commonMain/kotlin/KSLog.kt b/src/commonMain/kotlin/KSLog.kt index 2629e5c..987b01b 100644 --- a/src/commonMain/kotlin/KSLog.kt +++ b/src/commonMain/kotlin/KSLog.kt @@ -68,7 +68,7 @@ internal val printlnLogging: (level: LogLevel, tag: String, message: Any, throwa fun KSLog( defaultTag: String, -): KSLog = TagLogger(defaultTag) +): KSLog = DefaultKSLog(defaultTag) fun KSLog( defaultTag: String,