mirror of
https://github.com/InsanusMokrassar/KSLog.git
synced 2024-11-18 06:03:47 +00:00
commit
c730f49fbd
@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## 1.1.1
|
||||
|
||||
* Rollback `KSLog` with `String` arg factory to use `DefaultKSLog`
|
||||
|
||||
## 1.1.0
|
||||
|
||||
* `Kotlin`: `1.8.20`
|
||||
|
12
build.gradle
12
build.gradle
@ -50,6 +50,11 @@ kotlin {
|
||||
linuxArm64()
|
||||
linuxArm32Hfp()
|
||||
linuxX64()
|
||||
wasm {
|
||||
browser()
|
||||
nodejs()
|
||||
d8()
|
||||
}
|
||||
wasm32()
|
||||
mingwX64()
|
||||
mingwX86()
|
||||
@ -60,6 +65,13 @@ kotlin {
|
||||
implementation libs.kotlin
|
||||
}
|
||||
}
|
||||
commonTest {
|
||||
dependencies {
|
||||
implementation libs.kotlin.test.common
|
||||
implementation libs.kotlin.test.annotations.common
|
||||
implementation libs.kotlin.test.junit
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -10,5 +10,5 @@ org.gradle.jvmargs=-Xmx512m
|
||||
# Project data
|
||||
|
||||
group=dev.inmo
|
||||
version=1.1.0
|
||||
android_code_version=19
|
||||
version=1.1.1
|
||||
android_code_version=20
|
||||
|
@ -5,7 +5,7 @@ kotlin-gradle-plugin = "7.3.1"
|
||||
|
||||
dokka = "1.8.10"
|
||||
|
||||
dexcount = "3.1.0"
|
||||
dexcount = "4.0.0"
|
||||
junit_version = "4.12"
|
||||
test_ext_junit_version = "1.1.3"
|
||||
espresso_core = "3.4.0"
|
||||
|
@ -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,
|
||||
|
4
src/wasmMain/kotlin/defaultLogging.kt
Normal file
4
src/wasmMain/kotlin/defaultLogging.kt
Normal file
@ -0,0 +1,4 @@
|
||||
package dev.inmo.kslog.common
|
||||
|
||||
internal actual val defaultLogging: (level: LogLevel, tag: String, message: Any, throwable: Throwable?) -> Unit
|
||||
get() = printlnLogging
|
Loading…
Reference in New Issue
Block a user