Updated logging messages
This commit is contained in:
parent
787dfcd022
commit
7a99cd1019
|
|
@ -61,7 +61,7 @@ impl ClientWriter for JSONClientWriter {
|
|||
username: details.name,
|
||||
};
|
||||
println!(
|
||||
"[ProtobufClientWriter:{}] sending client connected message",
|
||||
"[JSONClientReader:{}] sending client connected message",
|
||||
self.addr
|
||||
);
|
||||
write_message(&mut self.writer, message).await;
|
||||
|
|
@ -70,7 +70,7 @@ impl ClientWriter for JSONClientWriter {
|
|||
async fn send_client_left(&mut self, uuid: Uuid) {
|
||||
let message = ClientStreamOut::ClientRemoved { id: uuid };
|
||||
println!(
|
||||
"[ProtobufClientWriter:{}] sending client connected message",
|
||||
"[JSONClientReader:{}] sending client connected message",
|
||||
self.addr
|
||||
);
|
||||
write_message(&mut self.writer, message).await;
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ impl Server {
|
|||
ConnectionType::JsonConnection(stream, addr),
|
||||
)) => {
|
||||
let conn = Box::new(JSONNetworkConnection::new(stream, addr));
|
||||
println!("[Server] New protobuf connection");
|
||||
println!("[Server] New json connection");
|
||||
self.handle_protobuf_connection(conn).await;
|
||||
}
|
||||
Some(ServerMessages::SendGlobalMessages(uuid)) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue