Function lief::logging::set_path

pub fn set_path(path: &Path)
Expand description

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());