original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Checks whether the Logger has a handler that listens on the given level
  
  @param integer $level
  @return Boolean
docstring_tokens: Checks whether the Logger has a handler that listens on the given level