Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger represents a new logger plugin for fiber.
func NewLoggerWithConfigPath ¶
NewLoggerWithConfigPath returns a new logger plugin with options from config path.
func NewLoggerWithOptions ¶
NewLoggerWithOptions returns a new logger plugin with options.
type Options ¶
type Options struct {
Enabled bool
}
Options logger plugin for fiber options.
func NewOptions ¶
NewOptions returns options from config file or environment vars.
func NewOptionsWithPath ¶
NewOptionsWithPath unmarshals options based a given key path.
Click to show internal directories.
Click to hide internal directories.