mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
Update faq.md
LogLevelFilter,there are only four options type、appender、level、maxLevel minLevel does not exist.It's a mistake here Because of this, troubled me for a long time
This commit is contained in:
parent
558d94db9b
commit
3f4eb4dfb4
@ -8,7 +8,7 @@ log4js.configure({
|
||||
appenders: {
|
||||
everything: { type: 'file', filename: 'all-the-logs.log' },
|
||||
emergencies: { type: 'file', filename: 'oh-no-not-again.log' },
|
||||
'just-errors': { type: 'logLevelFilter', appender: 'emergencies', minLevel: 'error' }
|
||||
'just-errors': { type: 'logLevelFilter', appender: 'emergencies', level: 'error' }
|
||||
},
|
||||
categories: {
|
||||
default: { appenders: ['just-errors', 'everything'], level: 'debug' }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user