优化sio log

This commit is contained in:
San Liy 2023-12-19 00:14:14 +08:00
parent beaef5f7ef
commit 93c745d681

View File

@ -111,7 +111,7 @@ def start_sio_listener():
@app.ctx.sio.on('updateRoom') @app.ctx.sio.on('updateRoom')
def update_room(data: Dict[str, Any]): def update_room(data: Dict[str, Any]):
logger.info(f"update_room: {data}") logger.debug(sio_log_format('update_room:', data))
@app.ctx.sio.on('deleteMessage') @app.ctx.sio.on('deleteMessage')
def delete_message(message_id: str): def delete_message(message_id: str):