log4js-appenders-message-filter
v0.0.1
Published
A message filter for log4js-node
Downloads
2
Readme
log4js-appenders-message-filter
config format:
pattern: {String}|{Array}}|{RegExp}
onMatch: 'accept'|'deny'
appender: {}
accept example:
{
type: "log4js-appenders-message-filter"
pattern: 'Error'
appender:
type: "console"
}
deny example:
{
type: "log4js-appenders-message-filter"
pattern: [
'no log message',
'no log text'
]
onMatch: 'deny'
appender:
type: "console"
}