rs / zerolog

Zero Allocation JSON Logger
MIT License
10.61k stars 572 forks source link

feat: display error stack when using `.Fields()` #560

Closed julienrbrt closed 1 year ago

julienrbrt commented 1 year ago

Display error stack when using .Fields(). Right now, even if the ErrorStackMarshaler is set, the stack will not be displayed if there is an error in the Fields() values but only when using Err().

julienrbrt commented 1 year ago

Gentle bump @rs. Is that something that could be added?