Update log -> 0.4, env_logger -> 0.5. (#9294)
* Rename a few types & methods. * Change `(Log)Builder::format` (closure) arg.
This commit is contained in:
committed by
André Silva
parent
b28e742683
commit
e590874a81
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
|
||||
|
||||
[dependencies]
|
||||
docopt = "0.8"
|
||||
env_logger = "0.4"
|
||||
env_logger = "0.5"
|
||||
ethkey = { path = "../" }
|
||||
panic_hook = { path = "../../util/panic_hook" }
|
||||
parity-wordlist="1.2"
|
||||
|
||||
@@ -162,7 +162,7 @@ impl DisplayMode {
|
||||
|
||||
fn main() {
|
||||
panic_hook::set_abort();
|
||||
env_logger::init().expect("Logger initialized only once.");
|
||||
env_logger::try_init().expect("Logger initialized only once.");
|
||||
|
||||
match execute(env::args()) {
|
||||
Ok(ok) => println!("{}", ok),
|
||||
|
||||
Reference in New Issue
Block a user