logrus icon indicating copy to clipboard operation
logrus copied to clipboard

Add in preprocessing hook to add additional key/value pairs

Open johnnyb opened this issue 3 years ago • 1 comments

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 avatar Aug 04 '21 23:08 johnnyb

johnnyb:master

Sonaing88661 avatar Aug 09 '21 16:08 Sonaing88661