New features
- Add a new option
AsyncReconnectInterval
for periodic connection refresh. #111
Contributions to this release
- Conor Evans
New features
- Support logging over secure connections using TLS. #107
Changes
- Change
Fluent.Post()
to return an error after connection close. #105
Contributions to this release
- Love Sharma
- Fujimoto Seiji
- Update connection management to stop logger during connection failures
- Fix not to panic when accessing unexported struct fields
- Add
AsyncResultCallback
to allow users to handle errors when using asynchronous message sending.
- Add another fix for
Close
called twice in Async
- Add support for
ppc64le
- Fix unexpected behaviors&panic around
Close
- Add
ForceStopAsyncSend
to stop asynchronous message transferring immediately whenclose()
called - Fix to lock connections only when needed
- Fix a bug to panic for closing nil connection
- Add
RequestAck
to enable at-least-once message transferring - Add
Async
option to update sending message in asynchronous way - Deprecate
AsyncConnect
(UseAsync
instead)
- Add
SubSecondPrecision
option to handle Fluentd v0.14 (and v1) sub-second EventTime (default: false) - Add
WriteTimeout
option - Fix API of
Post
to acceptmsgp.Marshaler
objects for better performance
- Fix a bug not to reconnect to destination twice or more
- Fix to connect on background goroutine in async mode
- Add
MarshalAsJSON
feature formessage
objects which can be marshaled as JSON - Fix a bug to panic for destination system outage
- Add support for unix domain socket
- Add asynchronous client creation
- Fix API of
Post
andPostWithTime
to return error when encoding - Add argument checks to get
map
with string keys andstruct
only - Logger refers tags (
msg
orcodec
) of fields of struct
- Change dependency from ugorji/go/codec to tinylib/msgp
- Add
PostRawData
method to post pre-encoded data to servers
- Lock when writing pending buffers (Thanks @eagletmt)
- Add TagPrefix in Config (Thanks @hotchpotch)
- Fixes runtime error of close function.(Thanks @y-matsuwitter)
- Added method PostWithTime(Thanks [@choplin])
- Use sync.Mutex
- Fix BufferLimit comparison
- Export toMsgpack function to utils.go
- Remove unused fmt.Println
- Update msgpack library ("github.com/ugorji/go-msgpack" -> "github.com/ugorji/go/codec")