Giovanni Bajo
89e128fdc1
Speed up operations when logging is disabled. ( #18 )
...
Low-level optimizations to help the compiler generate better code
when logging is disabled. Measured improvement is ~30% on amd64
(from 21 ns/op to 16 ns/op).
2017-11-05 05:22:20 -08:00
Olivier Poitrey
9e5c06cf0e
Add more advanced sampling modes
2017-08-28 23:30:54 -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
15fc33fe89
Fix sloppy test
2017-06-25 01:12:41 -07:00
Olivier Poitrey
2a829377cb
Rename warning field to warn in the output
2017-06-08 10:03:03 -07:00
Olivier Poitrey
9889521807
Add TimeDiff event method
2017-06-06 22:10:36 -07:00
Olivier Poitrey
49d553c9b8
Add AnErr field type
2017-06-02 00:56:14 -07:00
Olivier Poitrey
e0e86f933f
Add Msgf test
2017-05-20 20:59:39 -07:00
Olivier Poitrey
19a9a81cd2
Add some more doc
2017-05-20 02:22:57 -07:00
Olivier Poitrey
156a4e8b0f
Use TimeFieldFormat for Timestamp field
2017-05-19 22:14:51 -07:00
Olivier Poitrey
fa2d76dd80
Add some test
2017-05-19 21:57:46 -07:00
Olivier Poitrey
5ebf00efab
Add dict support
2017-05-18 00:10:45 -07:00
Olivier Poitrey
aff9804294
Test fields and context
2017-05-16 22:24:36 -07:00
Olivier Poitrey
7f302b00ec
Initial commit
2017-05-13 16:22:35 -07:00