func (c *SyslogConfig) Finalize() {
	if c.Enabled == nil {
		c.Enabled = Bool(StringPresent(c.Facility))
	}

	if c.Facility == nil {
		c.Facility = String(DefaultSyslogFacility)
	}
}
func (c *SyslogConfig) Finalize() {
	if c.Enabled == nil {
		c.Enabled = Bool(StringPresent(c.Facility))
	}

	if c.Facility == nil {
		c.Facility = String(DefaultSyslogFacility)
	}
}
func ( c * SyslogConfig ) Finalize ( ) { if c . Enabled == nil { c . Enabled = Bool ( StringPresent ( c . Facility ) ) } if c . Facility == nil { c . Facility = String ( DefaultSyslogFacility ) } }
// Finalize ensures there no nil pointers.
Finalize ensures there no nil pointers .