Searched refs:set_logger (Results 1 – 5 of 5) sorted by relevance
30 let _ = log::set_logger(&NOP_LOGGER); in for_all_recording()50 let _ = log::set_logger(&NOP_LOGGER); in for_all_dispatches()
11 log::set_logger(Box::leak(logger)) in set_boxed_logger()
201 * The `set_logger` free functions have been restructured. The logger is now directly passed to the202 functions rather than a closure which returns the logger. `set_logger` now takes a `&'static204 is a convenience function which takes a `Box<Log>` but otherwise acts like `set_logger`. It
15 log::set_logger(Box::leak(logger)) in set_boxed_logger()
1466 pub fn set_logger(logger: &'static dyn Log) -> Result<(), SetLoggerError> { in set_logger() function