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 ( LDebug = zapcore.DebugLevel LInfo = zapcore.InfoLevel LWarning = zapcore.WarnLevel LError = zapcore.ErrorLevel LFatal = zapcore.FatalLevel )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.