Home
last modified time | relevance | path

Searched refs:set_logger (Results 1 - 3 of 3) sorted by relevance

/third_party/rust/crates/log/tests/
H A Dfilters.rs15 log::set_logger(Box::leak(logger)) in set_boxed_logger()
/third_party/rust/crates/log/test_max_level_features/
H A Dmain.rs11 log::set_logger(Box::leak(logger)) in set_boxed_logger()
/third_party/rust/crates/log/src/
H A Dlib.rs182 //! Loggers are installed by calling the [`set_logger`] function. The maximum
190 //! provide a function that wraps a call to [`set_logger`] and
207 //! log::set_logger(&LOGGER)
217 //! `set_logger` requires you to provide a `&'static Log`, which can be hard to
220 //! identical to `set_logger` except that it takes a `Box<Log>` rather than a
295 //! [`set_logger`]: fn.set_logger.html
403 // uninitialized, the logger's initializing (set_logger's been called but
1396 /// This is a simple convenience wrapper over `set_logger`, which takes a
1398 /// [`set_logger`] fo
1466 pub fn set_logger(logger: &'static dyn Log) -> Result<(), SetLoggerError> { set_logger() functions
[all...]

Completed in 3 milliseconds