about summary refs log tree commit diff
path: root/src/liblog
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2014-12-13 18:22:09 -0800
committerBrian Anderson <banderson@mozilla.com>2014-12-15 06:44:20 -0800
commit6c4a2bc55ffc4dcb64cab2e2772e012eb7a2c0c3 (patch)
treee02199009fdcb5bc841f561c3cf29055c40ea81e /src/liblog
parent34dfa7addb7cb57ef4f6e70f00fa8216c343104e (diff)
parent6780031540a708282be6262f820078f8e8198611 (diff)
downloadrust-6c4a2bc55ffc4dcb64cab2e2772e012eb7a2c0c3.tar.gz
rust-6c4a2bc55ffc4dcb64cab2e2772e012eb7a2c0c3.zip
rollup merge of #19710: steveklabnik/gh15449
Fixes #15499.
Diffstat (limited to 'src/liblog')
-rw-r--r--src/liblog/lib.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/liblog/lib.rs b/src/liblog/lib.rs
index 8731f7084ed..0217c5b2713 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:
 //!