paramlogger

package module
Version: v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2020 License: MIT, MIT Imports: 6 Imported by: 36

README

mw-paramlogger

GoDoc

Requirements
  • Go 1.13+
  • Go Modules
Installation
$ go get github.com/gobuffalo/mw-paramlogger/cmd/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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL