pub fn set_path<P: AsRef<Path>>(path: P)
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());