func MonitoredResource(resource *logging.MonitoredResource) Option {
	return func(sh *StackdriverHook) error {
		sh.resource = resource
		return nil
	}
}
func MonitoredResource(resource *logging.MonitoredResource) Option {
	return func(sh *StackdriverHook) error {
		sh.resource = resource
		return nil
	}
}
func MonitoredResource ( resource * logging . MonitoredResource ) Option { return func ( sh * StackdriverHook ) error { sh . resource = resource return nil } }
// MonitoredResource is an option that sets the monitored resource to send with
// each log entry.
MonitoredResource is an option that sets the monitored resource to send with each log entry .