fluent-logger-golang
fluent-logger-golang copied to clipboard
Add WithContext methods to the Fluent struct including handling of context deadlines
Fixes #85
This pull requests adds PostWithContext, PostWithTimeAndContext, EncodeAndPostDataWithContext, EncodeDataWithContext to the Fluent struct. The context deadlines and cancellations are handled at different levels in the code to make sure no unnecessary work is done.
Ah, I need time to review this change. I'll take time for this later, but please ping me if there will be no further comments in weeks.
Sorry, I couldn't take the time for further review. Let me try in this week or the next week...