pub fn try_init_tracing(root_path: &Path) -> Result<PetriLogSource>
Expand description
Initialize Petri tracing with the given output path for log files.
Events go to three places:
petri.jsonl
, in newline-separated JSON format.- standard output, in human readable format.
- a log file, in human readable format. This file is
petri.log
, except for events whose target ends in.log
, which go to separate files named by the target.