flag

fun flag(event: String, ok: Boolean)

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

Parameters

event

Event name; non-alphanumeric characters are replaced.

ok

Whether the event succeeded.


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.