original_string: public function setLevel($level)
      {
          if (!array_key_exists($level, self::$levels)) {
              throw new Mustache_Exception_InvalidArgumentException(sprintf('Unexpected logging level: %s', $level));
          }
  
          $this->level = $level;
      }
code: public function setLevel($level)
      {
          if (!array_key_exists($level, self::$levels)) {
              throw new Mustache_Exception_InvalidArgumentException(sprintf('Unexpected logging level: %s', $level));
          }
  
          $this->level = $level;
      }
code_tokens: public function setLevel ( $ level ) { if ( ! array_key_exists ( $ level , self :: $ levels ) ) { throw new Mustache_Exception_InvalidArgumentException ( sprintf ( 'Unexpected logging level: %s' , $ level ) ) ; } $ this -> level = $ level ; }
docstring: Set the minimum logging level.
  
  @throws Mustache_Exception_InvalidArgumentException if the logging level is unknown
  
  @param int $level The minimum logging level which will be written
docstring_tokens: Set the minimum logging level .