code: func RegisterLogOptValidator(name string, l LogOptValidator) error {
  	return factory.registerLogOptValidator(name, l)
  }
docs: // RegisterLogOptValidator registers the logging option validator with
  // the given logging driver name.