Skip to main content

init_file

Function init_file 

Source
pub fn init_file(path: impl AsRef<Path>)
Expand description

Log to path (created, truncated; parent dirs made). First init wins; a failure to open leaves the log silent rather than crashing.