method
Log.trace
Log.trace(msg, [key, value]...) -> void
Logs msg at the **trace** level (0), the most verbose — the fine-grained "I am here, this is the value" tracing you turn on only when hunting a specific problem. It appears on stderr as [TRACE] msg, followed by any structured key=value fields, but only when the threshold set by Log.set_level is 0. Because trace is usually filtered out, keep the calls wherever they help; a disabled level costs only a comparison.
Parameters
msgthe message stringExample
program Trace {
entry {
Log.set_level(0)
Log.trace("spawned entity", "id", 7, "at", "cave")
}
}