9938a23cba
When pushing an object to the logger, and this object was the first field added. Zerolog was outputting an invalid json blob, issuing an extra comma before the object. This patch ensure that JSON is still valid even if an object is pushed first to the logger. Fixes #152 |
||
---|---|---|
.. | ||
base.go | ||
bytes.go | ||
bytes_test.go | ||
string.go | ||
string_test.go | ||
time.go | ||
types.go | ||
types_test.go |