Michal Klimczak
12/08/2020, 2:47 PMfun initLogging() {
Napier.base(DebugAntilog())
GlobalScope.launch {
withContext(Dispatchers.Default) {
Napier.base(DebugAntilog())
}
}
}
Is there a less hacky way to achieve that? I assume I need a different Napier instance on each thread, since they are @ThreadLocal
, right?Michal Klimczak
12/09/2020, 8:57 AM