Skip to content

Commit

Permalink
Fix debug! usage in tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
danluu committed Apr 19, 2013
1 parent bffe23b commit 69f6ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/tutorial.md
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

5 comments on commit 69f6ac5

@bors
Copy link
Contributor

@bors bors commented on 69f6ac5 Apr 20, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 69f6ac5 Apr 20, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging danluu/rust/debug_tutorial_foo = 69f6ac5 into auto

@bors
Copy link
Contributor

@bors bors commented on 69f6ac5 Apr 20, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

danluu/rust/debug_tutorial_foo = 69f6ac5 merged ok, testing candidate = 047ba26

@bors
Copy link
Contributor

@bors bors commented on 69f6ac5 Apr 20, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 69f6ac5 Apr 20, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding incoming to auto = 047ba26

Please sign in to comment.