Browse Source

more verbose logging

pull/78/head
Chris Mague 6 years ago
parent
commit
b03bd99110
  1. 5
      plugin.go

5
plugin.go

@ -197,6 +197,11 @@ func (p Plugin) Exec() error {
}).Fatal("Failed to write file") }).Fatal("Failed to write file")
} }
f.Write(out) f.Write(out)
f.Sync()
logrus.WithFields(logrus.Fields{
"file": c.Ofile,
"contenets": string(out),
}).Info("Logging output")
f.Close() f.Close()
} }

Loading…
Cancel
Save