File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -149,10 +149,10 @@ $ # Cool, now I have a backtrace for the error
149
149
These crates are used in compiler for logging:
150
150
151
151
* [log]
152
- * [env-logger]: check the link to see the full ` RUSTC_LOG ` syntax
152
+ * [env-logger]
153
153
154
154
[log]: https://docs.rs/log/0.4.6/log/index.html
155
- [env-logger]: https://docs.rs/env_logger/0.4.3 /env_logger/
155
+ [env-logger]: https://docs.rs/env_logger/0.8.1 /env_logger/
156
156
157
157
The compiler has a lot of ` debug! ` calls, which print out logging information
158
158
at many points. These are very useful to at least narrow down the location of
@@ -166,6 +166,10 @@ then appear in standard error.
166
166
167
167
If you are developing rustdoc, use ` RUSTDOC_LOG` instead.
168
168
169
+ See the [env-logger] doc for more info on the full syntax. (Note: unlike the
170
+ compiler, the env-logger crate and its examples use the ` RUST_LOG` env
171
+ variable.)
172
+
169
173
** Note that unless you use a very strict filter, the logger will emit a lot of
170
174
output, so use the most specific module(s) you can (comma-separated if
171
175
multiple)** . It' s typically a good idea to pipe standard error to a file and
You can’t perform that action at this time.
0 commit comments