Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // 所使用的网络协议, 如:tcp,udp,unix Network string `json:"network" yaml:"network" enum:"tcp,udp,unix" label:"网络协议"` Address string `json:"address" yaml:"address" label:"请求地址"` Level string `json:"level" yaml:"level" enum:"error,warn,info,debug,trace" label:"日志等级"` Type string `json:"type" yaml:"type" enum:"line,json" label:"输出格式"` Formatter eosc.FormatterConfig `json:"formatter" yaml:"formatter" label:"格式化配置"` }
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func (*Driver) ConfigType ¶
type Factory ¶
type Factory struct { }
func NewFactory ¶
func NewFactory() *Factory
type SysWriter ¶
type SysWriter struct { *Driver // contains filtered or unexported fields }
func CreateTransporter ¶
CreateTransporter 创建syslog-Transporter
func (*SysWriter) CheckSkill ¶
Click to show internal directories.
Click to hide internal directories.