pub fn emit(project_root: &Path, phase: u32, event: &str, fields: Value)
Append one event line. fields supplies the kind-specific payload and must be a JSON object (anything else is recorded under a "data" key).
fields
"data"