For the complete documentation index, see llms.txt. This page is also available as Markdown.

Report Logs

Send application logs from shared Kotlin code so they attach to Luciq bug reports and appear in session replay. Covers log levels and clearing logs.

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