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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user