Skip to content

Commit

Permalink
Fixed use of deprecated function.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnavion committed Mar 7, 2019
1 parent e16b193 commit 84a0cf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fn main() -> Result<(), Error> {
writeln!(buf, "{} {}:{} {}", record.level(), record.file().unwrap_or("?"), record.line().unwrap_or(0), record.args())
});
let rust_log = std::env::var("RUST_LOG").unwrap_or_else(|_| "info".to_string());
builder.parse(&rust_log);
builder.parse_filters(&rust_log);
builder.init();
}

Expand Down

0 comments on commit 84a0cf5

Please sign in to comment.