We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afae03e commit 0aee99aCopy full SHA for 0aee99a
examples/log.rs
@@ -7,7 +7,6 @@ fn main() {
7
tracing_appender::rolling::daily("/tmp/logs", "info.log").with_max_level(Level::INFO);
8
let error =
9
tracing_appender::rolling::daily("/tmp/logs", "error.log").with_max_level(Level::ERROR);
10
- // Create a log file writer that directs `INFO` logs to `info.log` and `ERROR` logs to `error.log`
11
let stdout = std::io::stdout.with_max_level(tracing::Level::INFO);
12
13
tracing_subscriber::fmt()
0 commit comments