PrivacyLog

object PrivacyLog

Release-safe logger that emits only boolean outcome flags.

Functions

Link copied to clipboard
fun flag(event: String, ok: Boolean)

Logs a boolean outcome flag for event (sanitized) with no further detail.

fun flag(event: String, ok: Boolean, detail: String)

Logs a boolean flag with extra detail in debug builds only; release builds fall back to the detail-free flag to avoid leaking information.