zltest
zltest copied to clipboard
Package zltest provides facilities to test zerolog log messages.
Results
1
zltest issues
Sort by
recently updated
recently updated
newest added
It's nice that we can assert whole errors for errors captured via `.Err(err)` or get the string representation with the "Str" accessor on the entry: ```go val, status := entry.Str(zerolog.ErrorFieldName)...