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
The function might panic. The conclusion in
go-logr/logr#130 was that the logger should
record that.
zapr only needs to do that when it calls MarshalLog. Strings and errors are
handled by zap.
For the sake of simplicity no attempt is made to detect the reason for the
panic. In case of a panic, the key is replaced by "<key>Error" and the value
with "PANIC=<panic reason>". This is consistent with how zap handles panics.
0 commit comments