Versions in this module Expand all Collapse all v2 v2.5.0 Jan 15, 2020 Changes in this version + const HookFluent + const HookLogStash + const HookSysLog + var DefaultPlugin = *NewPlugin() + type Config struct + DefaultLevel string + Hooks map[string]HookConfig + Loggers []LoggerConfig + func NewConf() *Config + type Deps struct + HTTP rest.HTTPHandlers + LogRegistry logging.Registry + ServiceLabel servicelabel.ReaderAPI + type HookConfig struct + Address string + Levels []string + Port int + Protocol string + type LoggerConfig struct + Level string + Name string + type LoggerData struct + Level string + Logger string + type Option func(*Plugin) + func UseConf(conf Config) Option + func UseDeps(cb func(*Deps)) Option + type Plugin struct + func NewPlugin(opts ...Option) *Plugin + func (p *Plugin) AfterInit() error + func (p *Plugin) Close() error + func (p *Plugin) Init() error v2.5.0-alpha Dec 13, 2019 Other modules containing this package go.ligato.io/cn-infra