func (o *Origin) Service() string {
	if o.LogSource.Config.Service != "" {
		return o.LogSource.Config.Service
	}
	return o.service
}
// Service returns the service of the configuration if set or the service of the message,
// if none are defined, returns an empty string by default.
Service returns the service of the configuration if set or the service of the message,
if none are defined, returns an empty string by default.
// Service returns the service of the configuration if set or the service of the message // if none are defined returns an empty string by default .
func (o *Origin) Service() string {
	if o.LogSource.Config.Service != "" {
		return o.LogSource.Config.Service
	}
	return o.service
}
func ( o * Origin ) Service ( ) string { if o . LogSource . Config . Service != " " { return o . LogSource . Config . Service } return o . service }
Service returns the service of the configuration if set or the service of the message,
if none are defined, returns an empty string by default.
Service returns the service of the configuration if set or the service of the message if none are defined returns an empty string by default .