Documentation ¶
Index ¶
- func DefaultZapLogger(zl *zap.Logger, level zapcore.Level, message string) httplog.FormatterFunction
- func DefaultZapLoggerWithHeaders(zl *zap.Logger, level zapcore.Level, message string) httplog.FormatterFunction
- func DefaultZapLoggerWithHeadersAndBody(zl *zap.Logger, level zapcore.Level, message string) httplog.FormatterFunction
- func ZapLogger(zl *zap.Logger, level zapcore.Level, message string) httplog.FormatterFunction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultZapLogger ¶
func DefaultZapLogger(zl *zap.Logger, level zapcore.Level, message string) httplog.FormatterFunction
Combines default logger and Zap logger
func DefaultZapLoggerWithHeaders ¶
func DefaultZapLoggerWithHeaders(zl *zap.Logger, level zapcore.Level, message string) httplog.FormatterFunction
DefaultZapLoggerWithHeaders combine default formatter, headers output and logger
func DefaultZapLoggerWithHeadersAndBody ¶
func DefaultZapLoggerWithHeadersAndBody(zl *zap.Logger, level zapcore.Level, message string) httplog.FormatterFunction
DefaultZapLoggerWithHeaders combine default formatter, headers output, body output and logger
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.