mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 22:15:37 +00:00
update logger exports
This commit is contained in:
1 parent
cdf37ce503
commit
e1b0aea7fc
62 files changed
+114
-152
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user