siberian-fast-food / alogger

Simply the best logging framework for Erlang
Apache License 2.0
50 stars 16 forks source link

New construction 'not' in rules #25

Closed 2garryn closed 12 years ago

2garryn commented 13 years ago
2   {mod,[controller_event]}   {'=<',error}   [alog_disk_log]      true
1                {mod,['_']}   {'=<',debug}   [alog_disk_log]      true

In this case controlller_event with priority 'debug' will be logged by '1' rule. It will be good to have construction 'not' to avoid that.

2garryn commented 12 years ago

Fixed and merged to master It is possible to set filter as {mod,[{'_', not_for, ExModList}]} where ExModList is list of modules which should be avoided