Lines Matching defs:error
29 //! The basic use of the log crate is through the five logging macros: [`error!`],
31 //! where `error!` represents the highest-priority log messages
37 //! [`error!`]: ./macro.error.html
276 //! * `std` allows use of `std` crate instead of the default `core`. Enables using `std::error` and
336 use std::error;
427 /// The "error" level.
1372 /// The [`log!`], [`error!`], [`warn!`], [`info!`], [`debug!`], and [`trace!`] macros check
1377 /// [`error!`]: macro.error.html
1404 /// An error is returned if a logger has already been set.
1430 /// An error is returned if a logger has already been set.
1435 /// use log::{error, info, warn, Record, Level, Metadata, LevelFilter};
1460 /// error!("oops");
1552 impl error::Error for SetLoggerError {}
1569 impl error::Error for ParseLevelError {}
1693 ("error", Ok(LevelFilter::Error)),
1715 ("error", Ok(Level::Error)),