Package trace provides the two observers an operator wants while a run
executes: aligned lines for a terminal and JSON Lines for a collector.
Both are safe for concurrent use, because the runtime delivers events
from whichever goroutine committed them.
JSONL returns an observer writing one JSON object per event. The payload
is passed through as recorded: the encoder's HTML escaping is off, so a
payload containing <, >, or & is not rewritten on its way out.
Writer returns an observer printing one line per event: the local time,
two spaces, the event type padded to 22 columns, and the payload. This is
the format both consumers print to stderr with -trace.