Documentation ¶
Index ¶
- func Handler(logger zerolog.Logger, optSkipPaths ...[]string) func(next http.Handler) http.Handler
- func LogEntry(ctx context.Context) zerolog.Logger
- func LogEntrySetField(ctx context.Context, key, value string)
- func LogEntrySetFields(ctx context.Context, fields map[string]interface{})
- func Logger(logger zerolog.Logger, skipPaths ...[]string) func(next http.Handler) http.Handler
- func NewLogger() zerolog.Logger
- type RequestLoggerEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogEntrySetField ¶
func LogEntrySetFields ¶
Types ¶
type RequestLoggerEntry ¶
func (*RequestLoggerEntry) Panic ¶
func (l *RequestLoggerEntry) Panic(v interface{}, stack []byte)
Click to show internal directories.
Click to hide internal directories.