logging

package
v0.0.0-...-1491fc7 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilteredRequestLogger

func FilteredRequestLogger(f middleware.LogFormatter, urlRegEx *regexp.Regexp) func(next http.Handler) http.Handler

FilteredRequestLogger is a copy of the middleware.RequestLogger function - But with a reg-ex to filter & exclude URLs from logging

func NewFilteredRequestLogger

func NewFilteredRequestLogger(filterOut *regexp.Regexp) func(next http.Handler) http.Handler

NewFilteredRequestLogger constructs a new FilteredRequestLogger with stdout logging

Types

This section is empty.

Jump to

Keyboard shortcuts

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