Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyLogger *logger
Functions ¶
func NewLoggingResponseWriter ¶
func NewLoggingResponseWriter(w http.ResponseWriter) *loggingResponseWriter
func NewSlogLogger ¶
func NewSlogLogger(opts SlogOptions) *slog.Logger
Types ¶
type HttpLogger ¶
func NewHttpLogger ¶
func NewHttpLogger(logger *slog.Logger, opts HttpLoggerOptions) *HttpLogger
type HttpLoggerOptions ¶
type Logger ¶
Click to show internal directories.
Click to hide internal directories.