Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // Filter defines a function to skip middleware. // Optional. Default: nil Filter func(*fiber.Ctx) bool // Format defines the logging format with defined variables // Optional. Default: "${time} ${method} ${path} - ${ip} - ${status} - ${latency}\n" // Possible values: // time, ip, ips, url, host, method, path, protocol // referer, ua, latency, status, body, error, routePath // header:<key>, query:<key>, form:<key>, cookie:<key> Format string // TimeFormat https://programming.guide/go/format-parse-string-time-date-example.html // Optional. Default: 15:04:05 TimeFormat string // Output is a writter where logs are written // Default: os.Stderr Output io.Writer }
Config ...
Click to show internal directories.
Click to hide internal directories.