Replace ethcore-logger with env-logger. (#10102)
* Replace ethcore-logger with env-logger. * Fix logger initialization in WASM tests. * uncomment logger initialization in secret store * Don't use ethcore-logger in whisper. * Move ethcore-logger within parity dir. * Uncomment rest from secret-store. * Use `let _ =` in private_contract for consistency * `ok()` to `let _ =` fix in service * Use `let _ = ` for state_db
This commit is contained in:
committed by
Marek Kotewicz
parent
ce5f704dd5
commit
ab22d5e278
@@ -22,7 +22,7 @@ use spec::Spec;
|
||||
use super::HookType;
|
||||
|
||||
pub fn json_difficulty_test<H: FnMut(&str, HookType)>(json_data: &[u8], spec: Spec, start_stop_hook: &mut H) -> Vec<String> {
|
||||
::ethcore_logger::init_log();
|
||||
let _ = ::env_logger::try_init();
|
||||
let tests = ethjson::test::DifficultyTest::load(json_data).unwrap();
|
||||
let engine = &spec.engine;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user