public function isHandling($level)
    {
        $record = array(
            'message' => '',
            'context' => array(),
            'level' => $level,
            'level_name' => self::getLevelName($level),
            'channel' => $this->name,
            'datetime' => new \DateTime(),
            'extra' => array(),
        );

        foreach ($this->handlers as $key => $handler) {
            if ($handler->isHandling($record)) {
                return true;
            }
        }

        return false;
    }
public function isHandling($level)
    {
        $record = array(
            'message' => '',
            'context' => array(),
            'level' => $level,
            'level_name' => self::getLevelName($level),
            'channel' => $this->name,
            'datetime' => new \DateTime(),
            'extra' => array(),
        );

        foreach ($this->handlers as $key => $handler) {
            if ($handler->isHandling($record)) {
                return true;
            }
        }

        return false;
    }
public function isHandling ( $ level ) { $ record = array ( 'message' => '' , 'context' => array ( ) , 'level' => $ level , 'level_name' => self :: getLevelName ( $ level ) , 'channel' => $ this -> name , 'datetime' => new \ DateTime ( ) , 'extra' => array ( ) , ) ; foreach ( $ this -> handlers as $ key => $ handler ) { if ( $ handler -> isHandling ( $ record ) ) { return true ; } } return false ; }
Checks whether the Logger has a handler that listens on the given level

@param integer $level
@return Boolean
Checks whether the Logger has a handler that listens on the given level