Using now LogToConsoleLogger on iOS due to many bugs of NSLog under Kotlin

This commit is contained in:
dankito 2020-07-12 18:16:08 +02:00
parent 8602dabf30
commit 79a3080bbd
1 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,9 @@ package net.dankito.utils.multiplatform.log
actual class DefaultLoggerFactory { actual class DefaultLoggerFactory {
actual fun createDefaultLoggerFactory(): ILoggerFactory { actual fun createDefaultLoggerFactory(): ILoggerFactory {
return NSLogLoggerFactory() // i cannot recommend using NSLog from Kotlin, has many bugs (e.g. cutting messages, printing non Ansi characters in Ansi messages, ...)
// return NSLogLoggerFactory()
return LogToConsoleLoggerFactory()
} }
} }