Feat: Remove pino-pretty as dependency, logger will by default write json to console.

This commit is contained in:
Marius Begby committed 2023-07-13 15:20:09 +02:00
1 parent a68e1bec68
commit 02d9180a84
3 files changed
+5 -149

No files matched your search

+4 -1
View File
@@ -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
}
}
]
});