I’ve developed a KMM library to work together between native apps written in Swift or Kotlin and a POS terminal. This library works nicely however we have to have a technique to intercept logs to present help to clients.
There’s a technique to share the logs from KMM library to Swift?
If this library had been in Swift developed I can use protocol/delegate or notification, there is a technique to do the identical in KMM?
Proper now I used Napier to see logs in console, certainly, once I run the app with this library in Xcode the logs seem in Console. In native app we use a technique to get logs from clients and analysing them, so we have to discover a technique to get some info from KMM library to native app
Thanks