From 05ace3b7ecb495ec63f8d93c475f7048788faca0 Mon Sep 17 00:00:00 2001 From: Pyry Kontio Date: Thu, 28 Jun 2018 21:28:32 +0900 Subject: [PATCH] Updated the log level explanation text --- src/lib.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 1e48cdb..b281908 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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!`]. //! //!