fiber_logger

package module
v0.0.0-...-13c43de Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: MIT Imports: 4 Imported by: 0

README

Fiber_Logger

this is my first try to build a fiber middleware. I want to have a logger for production usage with an efficient logging system as backend and a file storage with a circular file pointing.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

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

create a new logger middleware object for fiber framework

Types

type Config

type Config struct {
	Next func(ctx *fiber.Ctx) bool
}

middleware configuration

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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