zlog/internal/json
IxDay 9938a23cba Fix JSON when object is first to be pushed (#154)
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
2019-06-04 23:48:09 -07:00
..
base.go Add custom error serialization support and provide sane defaults (#78) 2018-07-02 12:46:01 -07:00
bytes_test.go Get back some ns by removing the extra inferance added by binary support 2018-05-10 15:01:41 -07:00
bytes.go Get back some ns by removing the extra inferance added by binary support 2018-05-10 15:01:41 -07:00
string_test.go Get back some ns by removing the extra inferance added by binary support 2018-05-10 15:01:41 -07:00
string.go Get back some ns by removing the extra inferance added by binary support 2018-05-10 15:01:41 -07:00
time.go Add a new time format for UNIX timestamp in milliseconds 2019-04-19 15:48:31 -07:00
types_test.go Fix JSON when object is first to be pushed (#154) 2019-06-04 23:48:09 -07:00
types.go Fix JSON when object is first to be pushed (#154) 2019-06-04 23:48:09 -07:00