mw-paramlogger: github.com/gobuffalo/mw-paramlogger Index | Files

package paramlogger

import "github.com/gobuffalo/mw-paramlogger"

Index

Package Files

param_logger.go

Variables

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.

func ParameterLogger Uses

func ParameterLogger(next buffalo.Handler) buffalo.Handler

ParameterLogger logs form and parameter values to the loggers

Package paramlogger imports 6 packages (graph) and is imported by 12 packages. Updated 2019-03-07. Refresh now. Tools for package owners.