opts.go
func LogName(name string) Option {
	return func(sh *StackdriverHook) error {
		if sh.projectID == "" {
			sh.logName = name
		} else {
			sh.logName = fmt.Sprintf("projects/%s/logs/%s", sh.projectID, name)
		}
		return nil
	}
}
func LogName(name string) Option {
	return func(sh *StackdriverHook) error {
		if sh.projectID == "" {
			sh.logName = name
		} else {
			sh.logName = fmt.Sprintf("projects/%s/logs/%s", sh.projectID, name)
		}
		return nil
	}
}
// LogName is an option that sets the log name to send with each log entry.
//
// Log names are specified as "projects/{projectID}/logs/{logName}"
// if the projectID is set. Otherwise, it's just "{logName}"