Skip to content

Commit

Permalink
auto merge of #5964 : danluu/rust/debug_tutorial_foo, r=brson
Browse files Browse the repository at this point in the history
Sorry, my change for #5916 wasn't correct -- it only worked by coincidence. This should actually work for any file name.
  • Loading branch information
bors committed Apr 20, 2013
2 parents 8b3c09a + 69f6ac5 commit 047ba26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -1670,7 +1670,7 @@ do spawn {
~~~~

If you want to see the output of `debug!` statements, you will need to turn on `debug!` logging.
To enable `debug!` logging, set the RUST_LOG environment variable to `debug` (e.g., with bash, `export RUST_LOG=debug`)
To enable `debug!` logging, set the RUST_LOG environment variable to the name of your crate, which, for a file named `foo.rs`, will be `foo` (e.g., with bash, `export RUST_LOG=foo`).

## For loops

Expand Down

0 comments on commit 047ba26

Please sign in to comment.