mirror of
https://github.com/rust-lang/log.git
synced 2026-03-05 13:20:20 +00:00
Updated the log level explanation text
This commit is contained in:
parent
7a9ff7fe12
commit
05ace3b7ec
@ -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!`].
|
||||
//!
|
||||
//!
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user