# touchlab-tools

Marco Dalla Bà

11/16/2023, 9:35 AM
Hi, from my iOS app I would like to catch kermit logs printed by my kmm library. I see them on the console but when I try to catch them with OSLogStore , nothing appears. Any hint is appreciated, thank you very much
Copy code
import OSLog

class Test: LogWriter {
    private let defaultLogger = Logger(subsystem: Bundle.main.bundleIdentifier!, category: "")

    override func log(severity: Severity, message: String, tag: String, throwable: KotlinThrowable?) {
        defaultLogger.debug("BWB \(message)")
A first solution I found is to build a custom LogWriter and pass it to the library. On which bundle identifier does Kermit write to by default?

Kirill Zhukov

11/16/2023, 9:38 PM

Marco Dalla Bà

11/17/2023, 7:07 AM
Oh missed it! Thank you!