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
I would like something like this too! I have a hook that adds trace data to the logs. In that (or another) hook I would also like to add bits and pieces of the log event to the trace in cases of high severity. However now it's not possible to lift any information out of the zerolog event. a .Read() method on the event would be very nice.
edit: On further reading there seems to be a workable solution here #493@WUST-mengqinyu would be nicer with something that doesn't involve reflecting though.
Or alternatively, is it possible to get the 'Context' in the Writer?
The text was updated successfully, but these errors were encountered: