Function log::set_logger
[−]
[src]
pub fn set_logger(logger: Box<Logger + Send>) -> Option<Box<Logger + Send>>
Unstable
: use the crates.io log library instead
Replaces the thread-local logger with the specified logger, returning the old logger.