FiltersA Filter object blocks a message from being written to the log. Filtering for All WritersTo 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. Filtering for a Writer InstanceTo filter only on a specific Writer instance, use the addFilter() method of that Writer:
|