Documentation ¶
Index ¶
Constants ¶
View Source
const (
FieldKeyModule = "module"
)
Variables ¶
This section is empty.
Functions ¶
func NewWriterConfigLogstash ¶
func NewWriterConfigLogstash() *adaptor.ConfigLogstash
Types ¶
type Entry ¶ added in v0.0.2
func WithModule ¶ added in v0.0.2
func (*Entry) WithPanicStack ¶ added in v0.0.2
函数在recover层级调用
type Processor ¶
日志处理类
func NewProcessor ¶
func (*Processor) AddWriters ¶
func (p *Processor) AddWriters(writerConfigs ...adaptor.WriterConfig)
type TextFormatter ¶
type TextFormatter struct { }
Click to show internal directories.
Click to hide internal directories.