Updated the log level explanation text

This commit is contained in:
Pyry Kontio 2018-06-28 21:28:32 +09:00 committed by GitHub
parent 7a9ff7fe12
commit 05ace3b7ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,11 +29,8 @@
//! The basic use of the log crate is through the five logging macros: [`error!`],
//! [`warn!`], [`info!`], [`debug!`] and [`trace!`]
//! where `error!` represents the highest-priority log messages
//! and `trace!` the lowest. The log messages are filtered by setting the log
//! level which means the level of verbosity: the lowest level doesn't log
//! at all and the higher ones log increasingly much, starting from
//! the high-priority messages; the highest level logs everything
//! from `error!` to `trace!`.
//! and `trace!` the lowest. The log messages are filtered by configuring
//! the log level to exclude messages with a lower priority.
//! Each of these macros accept format strings similarly to [`println!`].
//!
//!