Enabled logger for client app
This commit is contained in:
parent
32bfa69106
commit
85ddbba893
@ -1,6 +1,7 @@
|
|||||||
extern crate ethcore_util as util;
|
extern crate ethcore_util as util;
|
||||||
extern crate ethcore;
|
extern crate ethcore;
|
||||||
extern crate rustc_serialize;
|
extern crate rustc_serialize;
|
||||||
|
extern crate env_logger;
|
||||||
|
|
||||||
use std::io::*;
|
use std::io::*;
|
||||||
use std::env;
|
use std::env;
|
||||||
@ -12,6 +13,7 @@ use ethcore::sync::EthSync;
|
|||||||
use ethcore::ethereum;
|
use ethcore::ethereum;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
::env_logger::init().ok();
|
||||||
let mut service = NetworkService::start().unwrap();
|
let mut service = NetworkService::start().unwrap();
|
||||||
//TODO: replace with proper genesis and chain params.
|
//TODO: replace with proper genesis and chain params.
|
||||||
let frontier = ethereum::new_frontier();
|
let frontier = ethereum::new_frontier();
|
||||||
|
Loading…
Reference in New Issue
Block a user