Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LEVELS = map[string]zapcore.Level{ "panic": zapcore.PanicLevel, "dpanic": zapcore.DPanicLevel, "error": zapcore.ErrorLevel, "warn": zapcore.WarnLevel, "info": zapcore.InfoLevel, "debug": zapcore.DebugLevel, }
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Sink)
func WithLogLevel ¶
WithLogLevel: "debug" "info", "warn", "error"
type Sink ¶
type Sink struct {
// contains filtered or unexported fields
}
func (*Sink) GetProducer ¶
Click to show internal directories.
Click to hide internal directories.