logger

package
v0.0.0-...-8ef2ba3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigDefault = Config{}

ConfigDefault is the default config

Functions

func New

func New(config ...Config) fiber.Handler

New creates a new middleware handler

Types

type Config

type Config struct {
	Logger       *zap.Logger
	SkipPaths    []string
	RequestIDCtx string
	// contains filtered or unexported fields
}

Config defines the config for middleware.

func (Config) IsSkipPath

func (c Config) IsSkipPath(path string) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL