Use eddyb's suggestion from #11 about logging
This commit is contained in:
parent
5ac9862f92
commit
d863c0868e
|
|
@ -162,9 +162,10 @@ your log filter, e.g. to get the logs for a specific module, you can run the
|
||||||
compiler as `RUST_LOG=module::path rustc my-file.rs`. All `debug!` output will
|
compiler as `RUST_LOG=module::path rustc my-file.rs`. All `debug!` output will
|
||||||
then appear in standard error.
|
then appear in standard error.
|
||||||
|
|
||||||
Note that unless you use a very strict filter, the logger will emit a *lot*
|
**Note that unless you use a very strict filter, the logger will emit a lot of
|
||||||
of output - so it's typically a good idea to pipe standard error to a file
|
output, so use the most specific module(s) you can (comma-separated if
|
||||||
and look at the log output with a text editor.
|
multiple)**. It's typically a good idea to pipe standard error to a file and
|
||||||
|
look at the log output with a text editor. You should also .
|
||||||
|
|
||||||
So to put it together.
|
So to put it together.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue