Skip to main content

debug_path

Function debug_path 

Source
pub fn debug_path<F>(lookup: F) -> Option<String>
where F: Fn(&str) -> Option<String>,
Expand description

The file this process should log to, or None to stay silent.

lookup is the environment; pass a closure over std::env::var outside tests, which is what DebugLog::from_env does.