mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 22:15:37 +00:00
fix: Extract logger initialization to own file
This commit is contained in:
1 parent
2fe5fce324
commit
53d15b05e1
2 files changed
+14
-12
No files matched your search
@@ -0,0 +1,12 @@
|
||||
const pino = require('pino');
|
||||
const { minimumLogLevel } = require('../config.json');
|
||||
|
||||
module.exports = pino({
|
||||
level: minimumLogLevel,
|
||||
transport: {
|
||||
target: 'pino-pretty',
|
||||
options: {
|
||||
ignore: 'pid,hostname'
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user