Olivier Poitrey
6cdd9977c4
Refactor JSON encoding code
2017-07-25 22:05:32 -07:00
Olivier Poitrey
fdbdb09630
Add support for custom object marshaling
2017-07-25 18:41:05 -07:00
Olivier Poitrey
2aa3c3ae4f
Add some array types support
2017-07-25 12:50:35 -07:00
Olivier Poitrey
7af653895b
Add utility functions WithLevel and Fields
...
Add some utility functions to ease migration from other logger API.
2017-07-10 02:58:58 -07:00
Olivier Poitrey
72d41dedeb
Add []byte fields support
...
Add efficient []byte field support with no string conversion.
2017-07-01 12:48:32 -07:00
Olivier Poitrey
9889521807
Add TimeDiff event method
2017-06-06 22:10:36 -07:00
Olivier Poitrey
46cd35d1f2
Remove error returned by Msg and Msgf
...
When error happen, there is nothing the caller can really do and it is
not practicle to handle logging errors. Print an error on the standard
error instead.
2017-06-06 10:10:31 -07:00
Olivier Poitrey
7e8bba7e7f
Fix typos
2017-06-05 13:03:55 -07:00
Olivier Poitrey
49d553c9b8
Add AnErr field type
2017-06-02 00:56:14 -07:00
Olivier Poitrey
6bcd15ecf0
Add support for zerolog as an output for stdlib logger
2017-06-01 23:17:28 -07:00
Olivier Poitrey
bf4b44614c
Simplify Dur method usage.
2017-05-20 21:08:42 -07:00
Olivier Poitrey
3f54be8716
Improve context.Context logging
2017-05-20 00:22:37 -07:00
Olivier Poitrey
4f55c107b9
Fix typo
2017-05-19 22:48:00 -07:00
Olivier Poitrey
195fd3d7c6
Add support for the duration field
2017-05-19 22:43:10 -07:00
Olivier Poitrey
76d3c39327
Rename Object to Interface
2017-05-19 22:25:37 -07:00
Olivier Poitrey
6925dbdff1
Add support for object reflection field
2017-05-19 19:56:18 -07:00
Olivier Poitrey
d0cfcbbafe
Write directly into a single shared buffer per event for even better perf
2017-05-19 19:45:46 -07:00
Olivier Poitrey
5ebf00efab
Add dict support
2017-05-18 00:10:45 -07:00
Olivier Poitrey
5ec57ffb50
Add doc to all field types
2017-05-16 21:56:38 -07:00
Olivier Poitrey
7f302b00ec
Initial commit
2017-05-13 16:22:35 -07:00