Searched refs:set_boxed_logger (Results 1 – 8 of 8) sorted by relevance
8 use log::set_boxed_logger;10 fn set_boxed_logger(logger: Box<Log>) -> Result<(), log::SetLoggerError> { in set_boxed_logger() function35 set_boxed_logger(Box::new(Logger(me))).unwrap(); in main()
11 use log::set_boxed_logger;14 fn set_boxed_logger(logger: Box<dyn Log>) -> Result<(), log::SetLoggerError> { in set_boxed_logger() function58 set_boxed_logger(Box::new(Logger(me))).unwrap(); in main()
39 log::set_boxed_logger(Box::new(logger)) in init()
61 log::set_boxed_logger(Box::new(logger)).unwrap(); in with_filters()
292 log::set_boxed_logger(logger)?; in init()
796 let r = log::set_boxed_logger(Box::new(logger)); in try_init()
203 Log` and is usable in `no_std` contexts in place of the old `set_logger_raw`. `set_boxed_logger`
1408 pub fn set_boxed_logger(logger: Box<dyn Log>) -> Result<(), SetLoggerError> { in set_boxed_logger() function