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
If it was passed into the marshaller, we could also print the method name, which we're currently missing.
As this would be a backwards-incompatible change, I'm creating this issue first before creating a PR, but I think it would be worth it and very easy to fix (for the few people that actually overwrite that method manually)
Edit:
This is how you could get the func name:
.Str("func", runtime.FuncForPC(pc).Name())
The text was updated successfully, but these errors were encountered:
Here the program counter var is
_
ignored:zerolog/event.go
Lines 743 to 753 in 4099072
If it was passed into the marshaller, we could also print the method name, which we're currently missing.
As this would be a backwards-incompatible change, I'm creating this issue first before creating a PR, but I think it would be worth it and very easy to fix (for the few people that actually overwrite that method manually)
Edit:
This is how you could get the func name:
The text was updated successfully, but these errors were encountered: