gemercheung %!s(int64=3) %!d(string=hai) anos
pai
achega
5f91d5855e
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/controller/room/index.js

+ 2 - 1
src/controller/room/index.js

@@ -272,7 +272,8 @@ export class RoomController extends BasicController {
     if (this.debugger) {
       this.socket.onAny((event, data) => {
         if (event !== "webSyncAction") {
-          console.log(`onAny:get ${event}, data:${JSON.stringify(data)}`);
+          // console.log(`onAny:get ${event}, data:${JSON.stringify(data)}`);
+          this.logger.info(`onAny:get ${event}, data:${JSON.stringify(data)}`);
         }
       });
     }