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 + const BaseSkip + const DefaultConfigPath + func SetDefaultLog(l Logger) + type EtLogger struct + func NewEtLogger(options ...OptionFunc) (*EtLogger, error) + func (el *EtLogger) Data(msg string) + func (el *EtLogger) Debug(msg string) + func (el *EtLogger) Enable(level core.Level) bool + func (el *EtLogger) Error(msg string) + func (el *EtLogger) Fatal(msg string) + func (el *EtLogger) Info(msg string) + func (el *EtLogger) Warn(msg string) + func (el *EtLogger) WithError(err error) Logger + func (el *EtLogger) WithField(field string, v interface{}) Logger + func (el *EtLogger) WithFields(fields core.Fields) Logger + func (el *EtLogger) WithMarkers(markers ...string) Logger + type Handlers = []handler.Handler + type Logger interface + Data func(msg string) + Debug func(msg string) + Enable func(level core.Level) bool + Error func(msg string) + Fatal func(msg string) + Info func(msg string) + Warn func(msg string) + WithError func(err error) Logger + WithField func(field string, v interface{}) Logger + WithFields func(fields core.Fields) Logger + WithMarkers func(markers ...string) Logger + var Log Logger + type OptionFunc func(logger *EtLogger) error + func SetConfigPath(configPath string) OptionFunc + func SetErrorLog(errLog opt.Printfer) OptionFunc + func SetInfoLog(infoLog opt.Printfer) OptionFunc + func SetPostLog(postLog ...opt.LogFunc) OptionFunc + func SetPreLog(preLog ...opt.LogFunc) OptionFunc + func SetSourceSkip(skip uint) OptionFunc