Skip to content

Commit

Permalink
update env_logger
Browse files Browse the repository at this point in the history
uses the same version as cargo
  • Loading branch information
jyn514 committed Nov 2, 2019
1 parent 601b6d0 commit 9f2118f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
15 changes: 1 addition & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ time = "0.1"
reqwest = "0.9"
semver = "0.9"
slug = "=0.1.1"
env_logger = "0.6"
env_logger = "0.7"
magic = "0.12"
r2d2 = "0.8"
r2d2_postgres = "0.14"
Expand Down
2 changes: 1 addition & 1 deletion src/bin/cratesfyi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ fn logger_init() {
record.target(),
record.args())
});
builder.parse(&env::var("RUST_LOG").unwrap_or("cratesfyi=info".to_owned()));
builder.parse_filters(&env::var("RUST_LOG").unwrap_or("cratesfyi=info".to_owned()));

rustwide::logging::init_with(builder.build());
}

0 comments on commit 9f2118f

Please sign in to comment.