Log4g Reference Manual | ||||
---|---|---|---|---|
Top | Description |
This is a simple filter based on level matching.
This filter accepts two properties:
level-to-match
accept-on-match
The level-to-match is a string that represents a log level. If there is an exact match between the value of level-to-match and the level of the logging event then the decide function returns accept.
If the accept-on-match value is set to FALSE
then the decide function
will return deny when there is a level match. The default value is TRUE
.
If there is no match then the decide function returns neutral.