PrivacyLog

object PrivacyLog

Privacy-safe logging: release builds emit only boolean flags (event=true/false).

Functions

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

Logs [event]=true|false under the OpPrivacy tag — safe for release builds.

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

Same as flag, but appends detail only when BuildConfig.DEBUG is true.