Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Log zerolog.Logger
Log this is the variable where the logger are stored
Functions ¶
Types ¶
type Config ¶
type Config struct { // Next defines a function to skip this middleware. Next func(ctx *fiber.Ctx) bool // Logger is a *zerolog.Logger that writes the logs. // // Default: log.Logger.Output(zerolog.ConsoleWriter{Out: os.Stderr}) Logger *zerolog.Logger }
Config defines the config for logger middleware.
Click to show internal directories.
Click to hide internal directories.