Skip to main content

init_logging

Function init_logging 

Source
pub fn init_logging(log_dir: Option<&Path>, level: &str)
Expand description

Initialize process-wide logging once.

log_dir = Some(..) writes a daily rolling engine.log; None writes to stderr (CLI). The FMF_LOG env var overrides level. Safe to call repeatedly — later calls no-op.