mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 14:38:49 +00:00
feat: Add support for trace level logging in logging service
This commit is contained in:
1 parent
cc3fd9569c
commit
78dcc1b2e9
2 files changed
+10
-1
No files matched your search
@@ -3,6 +3,11 @@ require('dotenv').config();
|
||||
|
||||
const transport = pino.transport({
|
||||
targets: [
|
||||
{
|
||||
target: 'pino/file',
|
||||
level: process.env.MINIMUM_LOG_LEVEL,
|
||||
options: { destination: `./app-all.log` }
|
||||
},
|
||||
{
|
||||
target: 'pino/file',
|
||||
level: 'debug',
|
||||
|
||||
Reference in new issue
Block a user