touchlab / Kermit

Kermit by Touchlab is a Kotlin Multiplatform centralized logging utility.
https://kermit.touchlab.co
Apache License 2.0
701 stars 40 forks source link

Docs for crashlytics unhandled exception hook are out of date #315

Open rocketraman opened 1 year ago

rocketraman commented 1 year ago

The docs for iOS reference setting up the exception hook as follows:

setupCrashlyticsExceptionHook(Logger)

However, it appears on the latest releases, this is no longer the correct call. It now appears to be:

import co.touchlab.kermit.crashlytics.setCrashlyticsUnhandledExceptionHook

setCrashlyticsUnhandledExceptionHook()

Should be updated: https://github.com/touchlab/Kermit/blob/main/kermit-crashlytics/README.md?plain=1#L42