Home
last modified time | relevance | path

Searched refs:set_logger (Results 1 – 5 of 5) sorted by relevance

/third_party/rust/crates/tracing/tracing/benches/
Dshared.rs30 let _ = log::set_logger(&NOP_LOGGER); in for_all_recording()
50 let _ = log::set_logger(&NOP_LOGGER); in for_all_dispatches()
/third_party/rust/crates/log/test_max_level_features/
Dmain.rs11 log::set_logger(Box::leak(logger)) in set_boxed_logger()
/third_party/rust/crates/log/
DCHANGELOG.md201 * The `set_logger` free functions have been restructured. The logger is now directly passed to the
202 functions rather than a closure which returns the logger. `set_logger` now takes a `&'static
204 is a convenience function which takes a `Box<Log>` but otherwise acts like `set_logger`. It
/third_party/rust/crates/log/tests/
Dfilters.rs15 log::set_logger(Box::leak(logger)) in set_boxed_logger()
/third_party/rust/crates/log/src/
Dlib.rs1466 pub fn set_logger(logger: &'static dyn Log) -> Result<(), SetLoggerError> { in set_logger() function