TraceLevel
Controls how much diagnostic detail the runtime emits through TraceWriter.
Set at construction via makeHsm or mutate Properties.traceLevel on a live instance. Changing the level swaps the internal dispatch tracer implementation.
Enumeration Members
PRODUCTION
PRODUCTION:
0
Production mode: minimal tracing overhead, no verbose dispatch steps. Use in hot paths and shipped bundles when trace output is disabled.
DEBUG
DEBUG:
1
Debug mode: transition boundaries, handler entry/exit, and error summaries. Default for makeHsm. Suitable for development and integration tests.
VERBOSE_DEBUG
VERBOSE_DEBUG:
2
Verbose debug: includes prototype-chain lookup walks, cache hits/misses, and nested trace domains. Use when correlating handler code with tutorial trace panels.