aquatic_ws: add simple_logger for debugging, need better solution

This commit is contained in:
Joakim Frostegård 2020-05-23 14:53:29 +02:00
parent 23e0e0bcd0
commit 7430c23ccc
4 changed files with 36 additions and 1 deletions

View file

@ -30,6 +30,7 @@ parking_lot = "0.10"
rand = { version = "0.7", features = ["small_rng"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
simple_logger = { version = "1", default-features = false }
tungstenite = "0.10"
[dev-dependencies]

View file

@ -7,6 +7,8 @@ static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
fn main(){
// ::simple_logger::init().unwrap();
cli_helpers::run_app_with_cli_and_config::<aquatic_ws::config::Config>(
"aquatic: webtorrent tracker",
aquatic_ws::run,