mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-17 00:01:27 +03:00
update logs
This commit is contained in:
@@ -125,7 +125,7 @@ impl LanMouseConnection {
|
|||||||
conns.get(&addr).cloned()
|
conns.get(&addr).cloned()
|
||||||
};
|
};
|
||||||
if let Some(conn) = conn {
|
if let Some(conn) = conn {
|
||||||
log::info!("{event} >->->->->- {addr}");
|
log::trace!("{event} >->->->->- {addr}");
|
||||||
match conn.send(buf).await {
|
match conn.send(buf).await {
|
||||||
Ok(_) => return Ok(()),
|
Ok(_) => return Ok(()),
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ impl Emulation {
|
|||||||
last_response.insert(addr, Instant::now());
|
last_response.insert(addr, Instant::now());
|
||||||
match event {
|
match event {
|
||||||
ProtoEvent::Enter(_) => {
|
ProtoEvent::Enter(_) => {
|
||||||
log::info!("A CLIENT ENTERED THE DEVICE!");
|
log::info!("{addr} entered this device");
|
||||||
server.release_capture();
|
server.release_capture();
|
||||||
listener.reply(addr, ProtoEvent::Ack(0)).await;
|
listener.reply(addr, ProtoEvent::Ack(0)).await;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user