Documentation
¶
Index ¶
- type Option
- func AddCaller() Option
- func AddCallerSkip(skip int) Option
- func AddStacktrace(lvl zapcore.LevelEnabler) Option
- func Development() Option
- func ErrorOutput(w zapcore.WriteSyncer) Option
- func Fields(fs ...zap.Field) Option
- func Hooks(hooks ...func(zapcore.Entry) error) Option
- func IncreaseLevel(lvl zapcore.LevelEnabler) Option
- func OnFatal(action zapcore.CheckWriteAction) Option
- func WithCaller(enabled bool) Option
- func WrapCore(f func(zapcore.Core) zapcore.Core) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
func AddCallerSkip ¶
func AddStacktrace ¶
func AddStacktrace(lvl zapcore.LevelEnabler) Option
func Development ¶
func Development() Option
func ErrorOutput ¶
func ErrorOutput(w zapcore.WriteSyncer) Option
func IncreaseLevel ¶
func IncreaseLevel(lvl zapcore.LevelEnabler) Option
func OnFatal ¶
func OnFatal(action zapcore.CheckWriteAction) Option
func WithCaller ¶
Click to show internal directories.
Click to hide internal directories.