update logger exports

This commit is contained in:
Marius Begby committed 2024-02-15 22:29:17 +01:00
1 parent cdf37ce503
commit e1b0aea7fc
62 files changed
+114 -152

No files matched your search

+2 -3
View File
@@ -1,6 +1,5 @@
import { randomUUID as uuidv4 } from 'node:crypto';
import { Logger } from 'pino';
import loggerModule from '../../common/services/logger';
import { loggerService, Logger } from '../../common/services/logger';
module.exports = {
name: 'debug',
@@ -8,7 +7,7 @@ module.exports = {
isPlayerEvent: false,
execute: async (message: string) => {
const executionId: string = uuidv4();
const logger: Logger = loggerModule.child({
const logger: Logger = loggerService.child({
module: 'event',
name: 'playerGeneralDebug',
executionId: executionId