Documentation ¶ Index ¶ type Config type Plugin func (p *Plugin) Config() interface{} func (p *Plugin) Init() error func (p *Plugin) PostInit() error func (p *Plugin) Send(log map[string]any) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { Host string `json:"host"` Port int `json:"port"` Timeout int `json:"timeout,omitempty"` LogFormat map[string]string `json:"log_format,omitempty"` // contains filtered or unexported fields } type Plugin ¶ type Plugin struct { base.BaseLoggerPlugin // contains filtered or unexported fields } func (*Plugin) Config ¶ func (p *Plugin) Config() interface{} func (*Plugin) Init ¶ func (p *Plugin) Init() error func (*Plugin) PostInit ¶ func (p *Plugin) PostInit() error func (*Plugin) Send ¶ func (p *Plugin) Send(log map[string]any) Source Files ¶ View all Source files plugin.go Click to show internal directories. Click to hide internal directories.