Documentation ¶
Index ¶
- func ContextWithLogger(parent context.Context, logger *zap.Logger) context.Context
- func LoggerFromContext(ctx context.Context) *zap.Logger
- func LoggerFromRequest(request *http.Request) *zap.Logger
- func NewHttpServerErrorLogger(logger *zap.Logger) *log.Logger
- func NewLogger(mode, level string) (*zap.Logger, error)
- func RequestWithLogger(parent *http.Request, logger *zap.Logger) *http.Request
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextWithLogger ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.