Documentation
¶
Index ¶
- func Debug(ctx context.Context, msg string, fields ...zapcore.Field)
- func Error(ctx context.Context, msg string, fields ...zapcore.Field)
- func FromContext(ctx context.Context) *zap.Logger
- func Info(ctx context.Context, msg string, fields ...zapcore.Field)
- func Middleware(logger *zap.Logger) alice.Constructor
- func ToContext(ctx context.Context, logger *zap.Logger) context.Context
- func Warn(ctx context.Context, msg string, fields ...zapcore.Field)
- func WithFields(ctx context.Context, fields ...zapcore.Field) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
func Middleware(logger *zap.Logger) alice.Constructor
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.