Home
last modified time | relevance | path

Searched refs:SetLoggerError (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/kernlog/src/
Dlib.rs53 use log::{Log, Metadata, Record, Level, LevelFilter, SetLoggerError};
143 Log(SetLoggerError)
164 impl From<SetLoggerError> for KernelLogInitError {
165 fn from(err: SetLoggerError) -> Self { in from()
/external/rust/crates/env_logger/examples/
Dcustom_logger.rs18 use log::{Log, Metadata, Record, SetLoggerError};
35 fn init() -> Result<(), SetLoggerError> { in init()
/external/libchromeos-rs/src/
Dsyslog.rs7 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/
Dlib.rs1407 pub fn set_boxed_logger(logger: Box<dyn Log>) -> Result<(), SetLoggerError> { in set_boxed_logger() argument
1465 pub fn set_logger(logger: &'static dyn Log) -> Result<(), SetLoggerError> { in set_logger() argument
1470 fn set_logger_inner<F>(make_logger: F) -> Result<(), SetLoggerError> in set_logger_inner()
1496 Err(SetLoggerError(())) in set_logger_inner()
1498 _ => Err(SetLoggerError(())), in set_logger_inner()
1521 pub unsafe fn set_logger_racy(logger: &'static dyn Log) -> Result<(), SetLoggerError> { in set_logger_racy() argument
1532 _ => Err(SetLoggerError(())), in set_logger_racy()
1541 pub struct SetLoggerError(()); struct
1543 impl fmt::Display for SetLoggerError { implementation
1551 impl error::Error for SetLoggerError {} implementation
[all …]
/external/rust/crates/env_logger/src/
Dlib.rs289 use log::{LevelFilter, Log, Metadata, Record, SetLoggerError};
792 pub fn try_init(&mut self) -> Result<(), SetLoggerError> { in try_init() argument
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()
/external/rust/crates/quickcheck/src/
Dlib.rs70 fn env_logger_init() -> Result<(), log::SetLoggerError> { in env_logger_init()