Documentation
¶
Index ¶
- Constants
- func ChiMiddleware() func(next http.Handler) http.Handler
- func Flush()
- func FromContext(ctx context.Context, opts ...Option) *zap.Logger
- func FromRequest(req *http.Request, opts ...Option) *zap.Logger
- func New(opts ...Option) *zap.Logger
- func SetLevel(level Level)
- type Level
- type Option
- type Options
Constants ¶
View Source
const ( DebugLevel = zapcore.DebugLevel InfoLevel = zapcore.InfoLevel WarningLevel = zapcore.WarnLevel ErrorLevel = zapcore.ErrorLevel FatalLevel = zapcore.FatalLevel )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.