pub fn set_log_file(file_path: &str) -> Result<()>
Configure the log file destination.
Returns an error when the log file cannot be opened for append.