aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-07-01 03:40:16 +0000
committerFuwn <[email protected]>2021-07-01 03:40:16 +0000
commit7a90503afd3081ab38d0dfd701b5432addfdbbc9 (patch)
tree8a9dc77991461c59ef8b75aa03d336652467091b
parentstyle(whirl_api): condense line (`cargo fmt`) (diff)
downloadwhirl-7a90503afd3081ab38d0dfd701b5432addfdbbc9.tar.xz
whirl-7a90503afd3081ab38d0dfd701b5432addfdbbc9.zip
feat(whirl_server): enhanced room insertion logging
-rw-r--r--crates/whirl_server/src/distributor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/whirl_server/src/distributor.rs b/crates/whirl_server/src/distributor.rs
index 85d6e61..3d684ff 100644
--- a/crates/whirl_server/src/distributor.rs
+++ b/crates/whirl_server/src/distributor.rs
@@ -115,7 +115,7 @@ impl Server for Distributor {
} else {
room_ids.push((&*room.room_name).to_string());
room_id = room_ids.iter().position(|r| r == &room.room_name).unwrap();
- trace!("inserted room: {}", room.room_name);
+ trace!("inserted room {}: {}", room.room_name, room_id);
}
peer.bytes.get_mut().write_all(&RedirectId {