diff options
| author | Fuwn <[email protected]> | 2021-07-01 03:40:16 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-07-01 03:40:16 +0000 |
| commit | 7a90503afd3081ab38d0dfd701b5432addfdbbc9 (patch) | |
| tree | 8a9dc77991461c59ef8b75aa03d336652467091b | |
| parent | style(whirl_api): condense line (`cargo fmt`) (diff) | |
| download | whirl-7a90503afd3081ab38d0dfd701b5432addfdbbc9.tar.xz whirl-7a90503afd3081ab38d0dfd701b5432addfdbbc9.zip | |
feat(whirl_server): enhanced room insertion logging
| -rw-r--r-- | crates/whirl_server/src/distributor.rs | 2 |
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 { |