Log4j Version 1.2.14: Interface LogRecordFilter

Log4j 1.2

Log4j 1.2.14

org.apache.log4j.lf5 Interface LogRecordFilter

All Known Implementing Classes:
PassingLogRecordFilter

public interface LogRecordFilter

An interface for classes which filters LogRecords. Implementations represent a rule or condition which LogRecords may pass or fail.

Author:
Richard Wan
See Also:
LogRecord

 boolean
 

passes

public boolean passes(LogRecord record)
Returns:
true if the specified LogRecord satisfies whatever condition implementing class tests for.

Log4j 1.2.14

Copyright 2000-2005 Apache Software Foundation.