diff options
| author | bors <bors@rust-lang.org> | 2014-01-01 18:26:57 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-01-01 18:26:57 -0800 |
| commit | 647525545b53c8ac4900a791f3b2fb2b894a4336 (patch) | |
| tree | 55bda1b500f810b2380ce461253aad2475667e1c | |
| parent | 1b14a9393aafe0e6cbc64b7fad6ecfb589963888 (diff) | |
| parent | 7a8ca91e1d0067aac20a42706ed5cc87abac82ff (diff) | |
| download | rust-647525545b53c8ac4900a791f3b2fb2b894a4336.tar.gz rust-647525545b53c8ac4900a791f3b2fb2b894a4336.zip | |
auto merge of #11235 : am0d/rust/doc_update, r=brson
Running a rust program with `RUST_LOG=::help` no longer shows all the logging modules that are mentioned in the docs. These should be removed from the docs as they no longer do anything.
| -rw-r--r-- | doc/rust.md | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/doc/rust.md b/doc/rust.md index 7d32959c4d2..37a8b391142 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -3806,25 +3806,6 @@ As a convenience, the logging spec can also be set to a special pseudo-crate, `::help`. In this case, when the application starts, the runtime will simply output a list of loaded modules containing log expressions, then exit. -The Rust runtime itself generates logging information. The runtime's logs are -generated for a number of artificial modules in the `::rt` pseudo-crate, -and can be enabled just like the logs for any standard module. The full list -of runtime logging modules follows. - -* `::rt::mem` Memory management -* `::rt::comm` Messaging and task communication -* `::rt::task` Task management -* `::rt::dom` Task scheduling -* `::rt::trace` Unused -* `::rt::cache` Type descriptor cache -* `::rt::upcall` Compiler-generated runtime calls -* `::rt::timer` The scheduler timer -* `::rt::gc` Garbage collection -* `::rt::stdlib` Functions used directly by the standard library -* `::rt::kern` The runtime kernel -* `::rt::backtrace` Log a backtrace on task failure -* `::rt::callback` Unused - #### Logging Expressions Rust provides several macros to log information. Here's a simple Rust program |
