Maxime Bentin
12/18/2024, 1:28 PMCrashlyticsKotlin.sendHandledException(Exception("Some exception"))
-> Not displayed
And one with a classical throw RuntimeException("Test Crash")
which is displayed but without the symbols?.
The normal Kermit logger is logging correctly. this is the setup:
object MyLogger : Logger(
config = loggerConfigInit(
platformLogWriter(),
minSeverity = <http://Severity.Info|Severity.Info>
),
tag = "MyAppTag"
)
Button click:
Button(onClick = {
MyLogger.i { "Hello" }
CrashlyticsKotlin.sendHandledException(Exception("Some exception"))
showContent = !showContent
throw RuntimeException("Test Crash")
})
Logs:
🟢 (MyAppTag) Hello
Uncaught Kotlin exception: kotlin.RuntimeException: Test Crash
at 0 ComposeApp 0x104c4a217
In CrashLytics:
Fatal Exception: kotlin.RuntimeException
Test Crash
0
ComposeApp
App.kt - Ligne 30
<init>$lambda$5$lambda$4 + 30