Merge pull request #23 from InsanusMokrassar/1.1.0

1.1.0
This commit is contained in:
InsanusMokrassar 2023-04-12 23:21:54 +06:00 committed by GitHub
commit 387ca9097c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 9 deletions

View File

@ -1,5 +1,10 @@
# Changelog
## 1.1.0
* `Kotlin`: `1.8.20`
* Standard factory `KSLog` with `String` arg now use `TagLogger`
## 1.0.0
* `Kotlin`: `1.8.0`

View File

@ -10,5 +10,5 @@ org.gradle.jvmargs=-Xmx512m
# Project data
group=dev.inmo
version=1.0.0
android_code_version=18
version=1.1.0
android_code_version=19

View File

@ -1,7 +1,7 @@
[versions]
kotlin = "1.8.0"
kotlin-gradle-plugin = "7.3.0"
kotlin = "1.8.20"
kotlin-gradle-plugin = "7.3.1"
dokka = "1.8.10"
@ -12,7 +12,7 @@ espresso_core = "3.4.0"
android-minSdk = "21"
android-compileSdk = "33"
android-buildTools = "33.0.0"
android-buildTools = "33.0.1"
github-release = "2.4.1"

View File

@ -68,7 +68,11 @@ internal val printlnLogging: (level: LogLevel, tag: String, message: Any, throwa
fun KSLog(
defaultTag: String,
messageFormatter: MessageFormatter = defaultMessageFormatter
): KSLog = TagLogger(defaultTag)
fun KSLog(
defaultTag: String,
messageFormatter: MessageFormatter
): KSLog = DefaultKSLog(
defaultTag,
messageFormatter
@ -79,11 +83,10 @@ fun KSLog(
defaultTag: String,
filter: MessageFilter,
messageFormatter: MessageFormatter = defaultMessageFormatter
): KSLog = DefaultKSLog(
): KSLog = KSLog (
defaultTag,
filter,
messageFormatter
)
).filtered(filter)
fun KSLog(
defaultTag: String,