log
fun log(location: String, message: String, data: Map<String, Any?> = emptyMap(), hypothesisId: String = "", runId: String = "pre-fix")
Posts a structured debug event when BuildConfig.DEBUG is true and an endpoint is configured.
Parameters
location
Source location label (typically ClassName.method).
message
Human-readable event name.
data
Arbitrary key/value payload (never include passwords or file contents).
hypothesisId
Optional experiment id for agent correlation.
runId
Optional run id for agent correlation.