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