gentlemanlog

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middleware

func Middleware(l log.Logger, logRequest bool, logResponse bool) plugin.Plugin

Middleware return a middleware which will log additional data, if debug level is enabled in the logger. Request and response will be logged, based on the passed parameters. If the request/response body is more than 5000 bytes, it will be ignored.

Types

This section is empty.

Jump to

Keyboard shortcuts

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