pub fn set_path(path: &Path)
Switch to a file-based logger (instead of stderr-based)
let mut tmp = env::temp_dir(); tmp.push("lief_log.log"); logging::set_path(dir.as_path());