mirror of
https://github.com/thilo-behnke/wasm-pong.git
synced 2026-07-12 11:09:38 +00:00
logs/fix-logging-format-for-session-trace-logging
This commit is contained in:
@@ -286,7 +286,7 @@ impl WebsocketHandler for DefaultWebsocketHandler {
|
||||
|
||||
// TODO: doable in macro?
|
||||
fn trace(websocket_session: &WebSocketSession, msg: &str) {
|
||||
trace!("{} {}", websocket_session.session.session_id, msg)
|
||||
trace!("[{}] {}", websocket_session.session.session_id, msg)
|
||||
}
|
||||
|
||||
fn debug(websocket_session: &WebSocketSession, msg: &str) {
|
||||
|
||||
Reference in New Issue
Block a user