[src]

Function log::set_logger

pub fn set_logger(logger: ~Logger<Send>) -> Option<~Logger<Send>>

Replaces the task-local logger with the specified logger, returning the old logger.