You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
server.Configuration takes a *logrus.Logger, which works fine for customizing the log output. However, if you want to further customize the log with additional fields using WithField (e.g. indicating it's logs from the IRMA library) the only (hacky) way is to have a decorator formatter.
This can be easily fixed by allowing a *logrus.Entry to be configured instead of Logger.
The text was updated successfully, but these errors were encountered:
server.Configuration
takes a*logrus.Logger
, which works fine for customizing the log output. However, if you want to further customize the log with additional fields usingWithField
(e.g. indicating it's logs from the IRMA library) the only (hacky) way is to have a decorator formatter.This can be easily fixed by allowing a
*logrus.Entry
to be configured instead ofLogger
.The text was updated successfully, but these errors were encountered: