logging

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logging

type Logging struct {
	// contains filtered or unexported fields
}

Logging object

func New

func New(logger *logrus.Entry) *Logging

New creates new Logging handler/middeware

func (*Logging) Middleware

func (l *Logging) Middleware(h http.Handler) http.Handler

Middleware returns middleware function that can be used in router.Use()

Jump to

Keyboard shortcuts

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