1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-10 07:06:40 +02:00

Use isHandling() in AbstractProcessingHandler to determine if log record is being handled.

This commit is contained in:
Brian Reavis
2013-09-30 16:41:44 -07:00
parent df90f919b7
commit 132735eb38

View File

@@ -26,7 +26,7 @@ abstract class AbstractProcessingHandler extends AbstractHandler
*/
public function handle(array $record)
{
if ($record['level'] < $this->level) {
if (!$this->isHandling($record)) {
return false;
}