Skip to main content

append_dashboard_log_to

Function append_dashboard_log_to 

Source
pub fn append_dashboard_log_to(path: &Path, msg: &str)
Expand description

Append a timestamped line to the dashboard activity log at an explicit path. Silently ignores I/O errors - the dashboard log is best-effort.

The path is a parameter so Dashboard can inject a test-isolated log location, guaranteeing no dashboard-input test appends to the user’s real ~/.leviath/dashboard.log (see dashboard_log_path).