Home
last modified time | relevance | path

Searched refs:set_boxed_logger (Results 1 – 8 of 8) sorted by relevance

/third_party/rust/crates/log/test_max_level_features/
Dmain.rs8 use log::set_boxed_logger;
10 fn set_boxed_logger(logger: Box<Log>) -> Result<(), log::SetLoggerError> { in set_boxed_logger() function
35 set_boxed_logger(Box::new(Logger(me))).unwrap(); in main()
/third_party/rust/crates/log/tests/
Dfilters.rs11 use log::set_boxed_logger;
14 fn set_boxed_logger(logger: Box<dyn Log>) -> Result<(), log::SetLoggerError> { in set_boxed_logger() function
58 set_boxed_logger(Box::new(Logger(me))).unwrap(); in main()
/third_party/rust/crates/env_logger/examples/
Dcustom_logger.rs39 log::set_boxed_logger(Box::new(logger)) in init()
/third_party/rust/crates/tracing/tracing/test-log-support/src/
Dlib.rs61 log::set_boxed_logger(Box::new(logger)).unwrap(); in with_filters()
/third_party/rust/crates/tracing/tracing-log/src/
Dlog_tracer.rs292 log::set_boxed_logger(logger)?; in init()
/third_party/rust/crates/env_logger/src/
Dlib.rs796 let r = log::set_boxed_logger(Box::new(logger)); in try_init()
/third_party/rust/crates/log/
DCHANGELOG.md203 Log` and is usable in `no_std` contexts in place of the old `set_logger_raw`. `set_boxed_logger`
/third_party/rust/crates/log/src/
Dlib.rs1408 pub fn set_boxed_logger(logger: Box<dyn Log>) -> Result<(), SetLoggerError> { in set_boxed_logger() function