Searched refs:SetLoggerError (Results 1 - 5 of 5) sorted by relevance
/third_party/rust/crates/env_logger/examples/ |
H A D | custom_logger.rs | 18 use log::{Log, Metadata, Record, SetLoggerError}; 35 fn init() -> Result<(), SetLoggerError> { in init()
|
/third_party/rust/crates/env_logger/src/ |
H A D | lib.rs | 289 use log::{LevelFilter, Log, Metadata, Record, SetLoggerError}; 792 pub fn try_init(&mut self) -> Result<(), SetLoggerError> { in try_init() 1140 pub fn try_init() -> Result<(), SetLoggerError> { in try_init() 1185 pub fn try_init_from_env<'a, E>(env: E) -> Result<(), SetLoggerError> in try_init_from_env()
|
/third_party/rust/crates/log/src/ |
H A D | lib.rs | 202 //! use log::{SetLoggerError, LevelFilter}; 206 //! pub fn init() -> Result<(), SetLoggerError> { 224 //! # use log::{Level, LevelFilter, Log, SetLoggerError, Metadata}; 233 //! pub fn init() -> Result<(), SetLoggerError> { 1408 pub fn set_boxed_logger(logger: Box<dyn Log>) -> Result<(), SetLoggerError> { in set_boxed_logger() 1466 pub fn set_logger(logger: &'static dyn Log) -> Result<(), SetLoggerError> { in set_logger() 1471 fn set_logger_inner<F>(make_logger: F) -> Result<(), SetLoggerError> in set_logger() 1497 Err(SetLoggerError(())) in set_logger() 1499 _ => Err(SetLoggerError(())), in set_logger() 1522 pub unsafe fn set_logger_racy(logger: &'static dyn Log) -> Result<(), SetLoggerError> { in set_logger_racy() 1542 pub struct SetLoggerError(()); global() structure names [all...] |
/third_party/rust/crates/log/tests/ |
H A D | filters.rs | 14 fn set_boxed_logger(logger: Box<dyn Log>) -> Result<(), log::SetLoggerError> { in set_boxed_logger()
|
/third_party/rust/crates/log/test_max_level_features/ |
H A D | main.rs | 10 fn set_boxed_logger(logger: Box<Log>) -> Result<(), log::SetLoggerError> { in set_boxed_logger()
|
Completed in 5 milliseconds