Merge branch 'master' into readme-update

This commit is contained in:
Casey Lee
2019-02-18 20:07:05 -08:00
committed by GitHub

View File

@@ -32,6 +32,7 @@ const (
func newActionLogger(actionName string, dryrun bool) *logrus.Entry {
logger := logrus.New()
logger.SetFormatter(formatter)
logger.SetOutput(os.Stdout)
logger.SetLevel(logrus.GetLevel())
rtn := logger.WithFields(logrus.Fields{"action_name": actionName, "dryrun": dryrun})
return rtn