original_string: public static function getLevel($level = null) {
  
          $level = strtoupper($level);
  
          if ( array_key_exists($level, self::$levels) ) return self::$levels[$level];
  
          return self::$levels[self::DEFAULT_LOG_LEVEL];
  
      }
code: public static function getLevel($level = null) {
  
          $level = strtoupper($level);
  
          if ( array_key_exists($level, self::$levels) ) return self::$levels[$level];
  
          return self::$levels[self::DEFAULT_LOG_LEVEL];
  
      }
code_tokens: public static function getLevel ( $ level = null ) { $ level = strtoupper ( $ level ) ; if ( array_key_exists ( $ level , self :: $ levels ) ) return self :: $ levels [ $ level ] ; return self :: $ levels [ self :: DEFAULT_LOG_LEVEL ] ; }
docstring: Map provided log level to level code
  
  @param   string    $level
  
  @return  integer
docstring_tokens: Map provided log level to level code