aquatic_udp: use log crate instead of eprintln, add LogLevel to Config

This commit is contained in:
Joakim Frostegård 2020-08-13 04:52:50 +02:00
parent dd19f32a2a
commit f4187f4368
6 changed files with 19 additions and 9 deletions

View file

@ -147,7 +147,7 @@ pub fn run_request_worker(
for r in responses.drain(..){
if let Err(err) = response_sender.send(r){
eprintln!("error sending response to channel: {}", err);
::log::error!("error sending response to channel: {}", err);
}
}
}