pub fn log_to<T: Write + Send + 'static>(sink: T, max_log_level: LevelFilter)
Configure the log facade to log to a custom sink.
log
use log::LevelFilter; use std::io; simple_logging::log_to(io::sink(), LevelFilter::Info);