code: func LogLevel(level string) (Level, error) {
  	l, err := metadata.ParseLevel(level)
  	return Level(l), err
  }
docs: // LogLevel returns the log level from a string representation.
  //  Parameters:
  //  level is logging level in string representation
  //
  //  Returns:
  //  logging level