Filter out any log messages not matching the pattern
| Parameters: | string|array|Traversable – Regular expression to test the log message |
|---|---|
| Return type: | Regex |
| Throws : | ExceptionInvalidArgumentException |
Returns TRUE to accept the message, FALSE to block it.
| Parameters: | array – event data |
|---|---|
| Return type: | bool accepted? |