Plop
A simple logging library for PHP
Plop\FilterInterface Interface Reference

Interface for a filter. More...

+ Inheritance diagram for Plop\FilterInterface:

Public Member Functions

 filter (\Plop\RecordInterface $record)
 

Detailed Description

Interface for a filter.

Definition at line 27 of file FilterInterface.php.

Member Function Documentation

Plop\FilterInterface::filter ( \Plop\RecordInterface  $record)

Return whether the given record should be handled or filtered out.

Parameters
Plop::RecordInterface$recordThe record to filter.
Return values
boolWhether the given record should be handled normalled (true) or filtered out (false).

Implemented in Plop\Filter\Level, Plop\Filter\Name, and Plop\Filter\Not.


The documentation for this interface was generated from the following file: