Commit 755de37e authored by nanahira's avatar nanahira

change some log message

parent 59309b8b
Pipeline #43263 failed with stages
in 83 minutes and 2 seconds
...@@ -40,7 +40,7 @@ export class RoomManager { ...@@ -40,7 +40,7 @@ export class RoomManager {
const room = new Room(this.ctx, name, hostinfo).addFinalizor((r) => { const room = new Room(this.ctx, name, hostinfo).addFinalizor((r) => {
this.rooms.delete(r.name); this.rooms.delete(r.name);
this.logger.debug( this.logger.info(
{ room: r.name, roomCount: this.rooms.size }, { room: r.name, roomCount: this.rooms.size },
'Room finalized and removed', 'Room finalized and removed',
); );
...@@ -50,7 +50,7 @@ export class RoomManager { ...@@ -50,7 +50,7 @@ export class RoomManager {
} }
await room.init(); await room.init();
this.rooms.set(name, room); this.rooms.set(name, room);
this.logger.debug( this.logger.info(
{ room: name, roomCount: this.rooms.size }, { room: name, roomCount: this.rooms.size },
'Room created', 'Room created',
); );
......
...@@ -516,7 +516,7 @@ export class Room { ...@@ -516,7 +516,7 @@ export class Room {
this.setOverrideScore(loseDuelPos, -Math.abs(forceWinMatch)); this.setOverrideScore(loseDuelPos, -Math.abs(forceWinMatch));
} }
const score = this.score; const score = this.score;
this.logger.debug( this.logger.info(
`Player ${duelPos} wins the duel. Current score: ${score.join('-')}`, `Player ${duelPos} wins the duel. Current score: ${score.join('-')}`,
); );
const winMatch = const winMatch =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment