Searched refs:SetLoggerError (Results 1 – 3 of 3) sorted by relevance
/external/libchromeos-rs/src/ |
D | syslog.rs | 7 use log::{self, Level, LevelFilter, Metadata, Record, SetLoggerError}; 54 pub fn init(ident: &'static CStr) -> Result<(), SetLoggerError> { in init() argument
|
/external/rust/crates/log/src/ |
D | lib.rs | 1280 pub fn set_boxed_logger(logger: Box<dyn Log>) -> Result<(), SetLoggerError> { in set_boxed_logger() argument 1338 pub fn set_logger(logger: &'static dyn Log) -> Result<(), SetLoggerError> { in set_logger() argument 1343 fn set_logger_inner<F>(make_logger: F) -> Result<(), SetLoggerError> in set_logger_inner() 1367 Err(SetLoggerError(())) in set_logger_inner() 1369 _ => Err(SetLoggerError(())), in set_logger_inner() 1392 pub unsafe fn set_logger_racy(logger: &'static dyn Log) -> Result<(), SetLoggerError> { in set_logger_racy() argument 1403 _ => Err(SetLoggerError(())), in set_logger_racy() 1412 pub struct SetLoggerError(()); struct 1414 impl fmt::Display for SetLoggerError { implementation 1422 impl error::Error for SetLoggerError {} implementation [all …]
|
/external/rust/crates/env_logger/src/ |
D | lib.rs | 283 use log::{LevelFilter, Log, Metadata, Record, SetLoggerError}; 777 pub fn try_init(&mut self) -> Result<(), SetLoggerError> { in try_init() argument 1125 pub fn try_init() -> Result<(), SetLoggerError> { in try_init() 1170 pub fn try_init_from_env<'a, E>(env: E) -> Result<(), SetLoggerError> in try_init_from_env()
|