mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 22:15:29 +00:00
Feat: Remove pino-pretty as dependency, logger will by default write json to console.
This commit is contained in:
1 parent
a68e1bec68
commit
02d9180a84
3 files changed
+5
-149
No files matched your search
+4
-1
@@ -24,8 +24,11 @@ const transport = pino.transport({
|
||||
options: { destination: './app-error.log' }
|
||||
},
|
||||
{
|
||||
target: 'pino/file',
|
||||
level: process.env.MINIMUM_LOG_LEVEL_CONSOLE,
|
||||
target: 'pino-pretty'
|
||||
options: {
|
||||
colorize: true
|
||||
}
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user