Caution: The documentation you are viewing is
for an older version of Zend Framework.
You can find the documentation of the current version at:
https://docs.zendframework.com/
Filters - Zend_Log
A Filter object blocks a message from being written to the log.
To filter before all writers, you can add any number of Filters to a Log object using the addFilter() method:
When you add one or more Filters to the Log object, the message must pass through all of the Filters before any Writers receives it.
To filter only on a specific Writer instance, use the addFilter() method of that Writer: