Documentation
¶
Overview ¶
Package config helps to add the gelf writer to log15-config
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HandlerConfigType = reflect.TypeOf((*config.HandlerConfig)(nil)).Elem()
use for registry functions
Functions ¶
func NewGelfConfig ¶
func NewGelfConfig() interface{}
Types ¶
type GelfConfig ¶
type GelfConfig struct { config.LevelHandlerConfig `mapstructure:",squash"` Address string }
func (*GelfConfig) NewHandler ¶
func (c *GelfConfig) NewHandler() (log15.Handler, error)
Click to show internal directories.
Click to hide internal directories.