net.larsan.norna.service.log
Interface Filter
- public interface Filter
Filter a log record before its recording. A filter operates in a chain
and have the capacity to mutate or stop any record passing through it. A filter
passes on the record through a filter chain if it chooses to let the log record through.
- Version:
- Alpha-0.2 / 2002-10-06 21:37
- Author:
- Lars J. Nilsson
- See Also:
FilterChain
filter
public void filter(Record record,
FilterChain chain)
throws LogException
- Filter a log record. The filter is free to mutate the log record. Should the filter
choose to let the record through it call
next on the filter chain
- Parameters:
record - Log record to filter, never nullchain - Log filter chain, never null
- Throws:
LogException - On log errors