Enable logging for client demo
This commit is contained in:
parent
ea97529185
commit
cb81f80b31
@ -1,3 +1,4 @@
|
|||||||
|
extern crate env_logger;
|
||||||
extern crate getopts;
|
extern crate getopts;
|
||||||
extern crate isatty;
|
extern crate isatty;
|
||||||
extern crate pnet;
|
extern crate pnet;
|
||||||
@ -49,6 +50,7 @@ fn get_ip_addr() -> Option<IpAddr> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
env_logger::init().unwrap();
|
||||||
let mut threads = 4usize;
|
let mut threads = 4usize;
|
||||||
let mut num_nodes = 1usize;
|
let mut num_nodes = 1usize;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user