go-commons
go-commons copied to clipboard
logging.GetLogger does not do what we think it does
WithField
returns a logrus.Entry
which contains the field information. We then return the attached Logger
object, but logrus.Logger
does not actually point back to the Entry
. So we lose the Field information on return.