mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-06 04:35:30 +00:00
aquatic_udp: use log crate instead of eprintln, add LogLevel to Config
This commit is contained in:
parent
dd19f32a2a
commit
f4187f4368
6 changed files with 19 additions and 9 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue