Documentation ¶
Index ¶
- Variables
- func HandlerDebug(ctx context.Context, msg string, fields ...zap.Field)
- func HandlerError(ctx context.Context, msg string, fields ...zap.Field)
- func HandlerInfo(ctx context.Context, msg string, fields ...zap.Field)
- func HandlerPanic(ctx context.Context, msg string, fields ...zap.Field)
- func HandlerWarn(ctx context.Context, msg string, fields ...zap.Field)
- func HandlerWarnErr(ctx context.Context, msg string, fields ...zap.Field) error
- func SetLoggerContextFields(ctx context.Context, fields ...zap.Field) context.Context
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func HandlerDebug ¶
wrap debug with handler name
func HandlerError ¶
wrap error with handler name
func HandlerInfo ¶
wrap info with handler name
func HandlerPanic ¶
wrap error with handler name
func HandlerWarn ¶
wrap warn with handler name
func HandlerWarnErr ¶
LogWarnErr logs an error at warn level and returns the same message
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.