Skip to content

Commit

Permalink
auto merge of #11235 : am0d/rust/doc_update, r=brson
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Jan 2, 2014
2 parents 1b14a93 + 7a8ca91 commit 6475255
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions doc/rust.md
Expand Up @@ -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
Expand Down

0 comments on commit 6475255

Please sign in to comment.