https://kotlinlang.org logo
#touchlab-tools
Title
# touchlab-tools
b

Bradleycorn

03/27/2023, 12:01 PM
I did a basic kermit setup on a brand new KMM app (created from Android Studio). I put a simple debug log message in the common source:
Logger.d(tag = "TEST_TAG") { "Log from common code" }
the log message shows up fine when I run the iOS app. But it does NOT show up in the Android App’s LogCat?? If I change to
Logger.i
… the message does show up. I do NOT have any logcat filtering turned on, and I can see other Debug level log messages in LogCat. Am I doing something wrong, or making a rookie mistake of some kind?
r

russhwolf

03/27/2023, 2:59 PM
Our default config reads
Log.isLoggable()
to determine whether to log. I think by default that returns true for
INFO
and above,
b

Bradleycorn

03/27/2023, 6:09 PM
ah ha! Yeah I believe that is how
isLoggable
works by default. thanks @russhwolf!
6 Views