original_string: public static function getLevelValue($name)
      {
          $name = strtoupper($name);
          $map = (new \ReflectionClass(self::class))->getConstants();
  
          return (isset($map[$name]))? $map[$name] : null;
      }
code: public static function getLevelValue($name)
      {
          $name = strtoupper($name);
          $map = (new \ReflectionClass(self::class))->getConstants();
  
          return (isset($map[$name]))? $map[$name] : null;
      }
code_tokens: public static function getLevelValue ( $ name ) { $ name = strtoupper ( $ name ) ; $ map = ( new \ ReflectionClass ( self :: class ) ) -> getConstants ( ) ; return ( isset ( $ map [ $ name ] ) ) ? $ map [ $ name ] : null ; }
docstring: Gets the log level value by name
  
  @param $name
  
  @return null
docstring_tokens: Gets the log level value by name