paramlogger

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: MIT, MIT Imports: 6 Imported by: 155

README

mw-paramlogger

GoDoc

Requirements
  • Go 1.16+ but 1.17 and 1.18 are officially supported
  • Go Modules
Installation
$ go get github.com/gobuffalo/mw-paramlogger

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ParameterExclusionList = []string{
	"Password",
	"PasswordConfirmation",
	"CreditCard",
	"CVC",
}

ParameterExclusionList is the list of parameter names that will be filtered from the application logs (see maskSecrets). Important: this list will be used in case insensitive.

Functions

func ParameterLogger

func ParameterLogger(next buffalo.Handler) buffalo.Handler

ParameterLogger logs form and parameter values to the loggers

Types

This section is empty.

Jump to

Keyboard shortcuts

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