Versions in this module Expand all Collapse all v1 v1.3.1 Sep 5, 2021 v1.3.0 Aug 9, 2021 Changes in this version + type BaseHandler struct + func NewBaseHandler(conf *config.HandlerConfig) *BaseHandler + func (bh *BaseHandler) Contains(level core.Level) bool + func (bh *BaseHandler) DefaultSetting() + func (bh *BaseHandler) Handle(entry *core.LogEntry) error + func (bh *BaseHandler) Init() error + func (bh *BaseHandler) MarkerMatched(marker string) bool + func (bh *BaseHandler) Shutdown() + type FileHandler struct + func NewFileHandler(conf *config.HandlerConfig) *FileHandler + func (fh *FileHandler) Flush(bs []byte) error + func (fh *FileHandler) Handle(entry *core.LogEntry) (err error) + func (fh *FileHandler) Init() error + func (fh *FileHandler) Rotate() error + type Flusher interface + Flush func(bs []byte) error + type Handler interface + Handle func(entry *core.LogEntry) error + Init func() error + Shutdown func() + func HandlerFactory(conf *config.HandlerConfig) Handler + type HandlerType int + const FILE + const STD + func NewHandlerType(handlerType string) HandlerType + func (h HandlerType) String() string + type LogEntries = []*core.LogEntry + type StdHandler struct + func NewStdHandler(handlerConf *config.HandlerConfig) *StdHandler + func (sh *StdHandler) Handle(entry *core.LogEntry) error + func (sh *StdHandler) Init() error