diff --git a/src/main.ts b/src/main.ts index 9dfec6c..6b96629 100644 --- a/src/main.ts +++ b/src/main.ts @@ -18,9 +18,11 @@ import { ExecutiveConfirmation } from "./events/special/ExecutiveConfirmation"; import { InvestigateAffiliation } from "./events/special/InvestigateLoyalty/InvestigateAffiliation"; export var log: Logger = new Logger({ - displayFunctionName: true, + displayFunctionName: false, + displayLoggerName: false, displayFilePath: `hidden`, displayLogLevel: true, + minLevel: `silly`, name: `SecretHitler`, }); @@ -48,7 +50,7 @@ process.on('SIGINT', clean_up); const io = sio.listen(3000); io.on(`connection`, (socket: sio.Socket) => { - log.info(`Client connected`); + log.silly(`Client connected with id ${socket.id}`); // Game Management socket.on(`HostGame`, (data: HostGame) => HostGame(socket, data));