logging

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithLogrus

func WithLogrus(l *log.Logger) func(*LogrusMiddleware)

Types

type LogrusMiddleware

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

func NewLogrus

func NewLogrus(opts ...LogrusOptionFunc) *LogrusMiddleware

func (*LogrusMiddleware) Middleware

func (m *LogrusMiddleware) Middleware(next http.Handler) http.Handler

type LogrusOptionFunc

type LogrusOptionFunc func(*LogrusMiddleware)

Jump to

Keyboard shortcuts

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