Documentation ¶
Index ¶
- func DefaultFactory(lvl log.Level) log.Factory
- func NewFactory(l *zerolog.Logger, lvl log.Level) log.Factory
- func NewLogger(l *zerolog.Logger, lvl log.Level, f map[string]interface{}) log.Logger
- type Factory
- type Logger
- func (zl Logger) Debug(args ...interface{})
- func (zl Logger) Debugf(msg string, args ...interface{})
- func (zl Logger) Error(args ...interface{})
- func (zl Logger) Errorf(msg string, args ...interface{})
- func (zl Logger) Fatal(args ...interface{})
- func (zl Logger) Fatalf(msg string, args ...interface{})
- func (zl Logger) Fields() map[string]interface{}
- func (zl Logger) Info(args ...interface{})
- func (zl Logger) Infof(msg string, args ...interface{})
- func (zl Logger) Level() log.Level
- func (zl Logger) Panic(args ...interface{})
- func (zl Logger) Panicf(msg string, args ...interface{})
- func (zl Logger) Warn(args ...interface{})
- func (zl Logger) Warnf(msg string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultFactory ¶
DefaultFactory creates a zerolog factory with default settings.
func NewFactory ¶
NewFactory creates a new zerolog factory.
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
Factory implementation of zerolog.
Click to show internal directories.
Click to hide internal directories.