More colour!

This commit is contained in:
Gav Wood
2016-06-29 17:50:27 +02:00
committed by arkpar
parent 92edf7f511
commit 93a89049ed
5 changed files with 18 additions and 7 deletions

View File

@@ -17,6 +17,7 @@
//! Creates and registers client and network services.
use util::*;
use util::Colour::{Yellow, Green};
use util::panics::*;
use spec::Spec;
use error::*;
@@ -71,8 +72,7 @@ impl ClientService {
try!(net_service.start());
}
info!("Starting {}", net_service.host_info());
info!("Configured for {} using {:?} engine", spec.name, spec.engine.name());
info!("Configured for {} using {} engine", paint(Green.bold(), spec.name.clone()), paint(Yellow.bold(), spec.engine.name().to_owned()));
let client = try!(Client::new(config, spec, db_path, miner, net_service.io().channel()));
panic_handler.forward_from(client.deref());
let client_io = Arc::new(ClientIoHandler {