mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-12 16:14:08 +02:00
Use isHandling() in AbstractProcessingHandler to determine if log record is being handled.
This commit is contained in:
@@ -26,7 +26,7 @@ abstract class AbstractProcessingHandler extends AbstractHandler
|
|||||||
*/
|
*/
|
||||||
public function handle(array $record)
|
public function handle(array $record)
|
||||||
{
|
{
|
||||||
if ($record['level'] < $this->level) {
|
if (!$this->isHandling($record)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user