From 6780031540a708282be6262f820078f8e8198611 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Wed, 10 Dec 2014 13:54:56 -0500 Subject: Fix inappropriate ## headings Fixes #15499. --- src/liblog/lib.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/liblog') diff --git a/src/liblog/lib.rs b/src/liblog/lib.rs index 8b79078eac6..05c521ad300 100644 --- a/src/liblog/lib.rs +++ b/src/liblog/lib.rs @@ -10,7 +10,7 @@ //! Utilities for program-wide and customizable logging //! -//! ## Example +//! # Examples //! //! ``` //! #![feature(phase)] @@ -64,8 +64,7 @@ //! INFO:main: the answer was: 12 //! ``` //! -//! -//! ## Logging Macros +//! # Logging Macros //! //! There are five macros that the logging subsystem uses: //! @@ -86,7 +85,7 @@ //! //! * `log_enabled!(level)` - returns true if logging of the given level is enabled //! -//! ## Enabling logging +//! # Enabling logging //! //! Log levels are controlled on a per-module basis, and by default all logging is //! disabled except for `error!` (a log level of 1). Logging is controlled via the @@ -123,7 +122,7 @@ //! * `hello,std::option` turns on hello, and std's option logging //! * `error,hello=warn` turn on global error logging and also warn for hello //! -//! ## Filtering results +//! # Filtering results //! //! A RUST_LOG directive may include a regex filter. The syntax is to append `/` //! followed by a regex. Each message is checked against the regex, and is only @@ -143,7 +142,7 @@ //! hello. In both cases the log message must include a single digit number //! followed by 'scopes' //! -//! ## Performance and Side Effects +//! # Performance and Side Effects //! //! Each of these macros will expand to code similar to: //! -- cgit 1.4.1-3-g733a5