Skip to main content

log_to_file

Function log_to_file 

Source
pub fn log_to_file(path: &str, append: bool) -> Result<()>
Expand description

Also write every printed message to path (port of logging.FileHandler; mode “w”). Pass append=true for mode “a”.