Report Logs

Application logs (logVerbose, logDebug, etc.) attached to reports in KMP.

Logs you send with the Luciq logging API are attached to bug reports and can appear in session replay. Use them to add context (e.g. user actions, state, errors) without printing to the system console only.

Log levels

Kotlin
LuciqKmp.logVerbose("verbose detail")
LuciqKmp.logDebug("debug info")
LuciqKmp.logInfo("user did X")
LuciqKmp.logWarn("unexpected but handled")
LuciqKmp.logError("error occurred")

Clear logs

Clear all captured logs (e.g. when starting a new flow or after sending a report):

Kotlin
LuciqKmp.clearLogs()

Logs are stored on the device and sent with the next report; clearing them prevents old logs from being attached to new reports.

Last updated