Documentation ¶
Overview ¶
Package gelf just return a gelf writer with the configuration provided via Sonic ExtraConfig
Index ¶
Constants ¶
View Source
const Namespace = "github.com/starvn/sonic/telemetry/gelf"
Variables ¶
View Source
var ( ErrWrongConfig = fmt.Errorf("getting the extra config for the sonic/telemetry/gelf package") ErrMissingAddr = fmt.Errorf("missing addr to send gelf logs") )
Functions ¶
func ConfigGetter ¶
func ConfigGetter(e config.ExtraConfig) interface{}
Types ¶
Click to show internal directories.
Click to hide internal directories.