code: func (vr *ValidationResult) Log(ctx context.Context) {
  	for _, msg := range vr.Messages {
  		lvl := logging.Info
  		switch msg.Severity {
  		case "WARNING":
  			lvl = logging.Warning
  		case "ERROR", "CRITICAL":
  			lvl = logging.Error
  		}
  		logging.Logf(ctx, lvl, "%s: %s", msg.Path, msg.Text)
  	}
  }
docs: // Log all messages in the result to the logger at an appropriate logging level.