logrus
logrus copied to clipboard
Add in preprocessing hook to add additional key/value pairs
We need to add additional key/value pairs to the log message for our logging flow. Namely we want to auto-add the app name. Anyway, this is a generic preprocessing hook that allows any modification to the data right before it is shipped to the JSON formatter.
johnnyb:master