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_test.go | ||
bytes.go | ||
string_test.go | ||
string.go | ||
time.go | ||
types_test.go | ||
types.go |