mirror of
https://github.com/rs/zerolog
synced 2026-06-08 17:13:30 +00:00
a64148507a
* Improve code coverage before adding Objects * Refactor ErrorMarshal tests. Added testing of the error marshal in Fields Reduce the duplication of the test data and make it clearer what the "wants" represent. * Add Objects support to Fields, Event, Context * Add support for Object Fields Passed as []LogObjectMarshaler. * Fixed syntax of ExampleContext_Objects Seems 1.24 accepts variadic for arrays and understands covariance but 1.21 doesn't. * Fix problem with []uint8 serialized as a Base64 string * Better syntax in the example use of Objects