OxL Reference

method sim.note

Adds a line to the trace of the run (and so to its hash).

Example:

oxl✓ checked in CI
use std.test { sim }

test sim "notes enter the trace" seeds 1..=2 {
  sim.note("leader elected")
}
pub(api) static fn note(text: str)

Since. 1.0.0-beta

Parameters

NameType
textstr

Effects

none declared (pure unless the body says otherwise)

Defined in: std/test/test.oxl:396

See also