func (c *Config) defaults() {
	if c.BufferSize == 0 {
		c.BufferSize = 100
	}

	if c.Prefix == "" {
		c.Prefix = "logs"
	}
}
func (c *Config) defaults() {
	if c.BufferSize == 0 {
		c.BufferSize = 100
	}

	if c.Prefix == "" {
		c.Prefix = "logs"
	}
}
func ( c * Config ) defaults ( ) { if c . BufferSize == 0 { c . BufferSize = 100 } if c . Prefix == " " { c . Prefix = " " } }
// defaults applies defaults to the config.
defaults applies defaults to the config .