anz-bank / pkg

Common ANZ Go packages
https://pkg.go.dev/github.com/anz-bank/pkg
Apache License 2.0
1 stars 9 forks source link

Bugfix/code reference incorrect #56

Closed tiagralee closed 4 years ago

tiagralee commented 4 years ago

Fix incorrect caller logged through Fields

There are two entry points to log an entry within the pkg logger: log directly against the Logger or log against the Fields. This change fixes an issue whereby entries logged through the Fields were incorrectly reporting the caller within the pkg framework.