-
Notifications
You must be signed in to change notification settings - Fork 154
feat(logger): Enable log buffering feature #3641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(logger): Enable log buffering feature #3641
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR is going well, thank you for working on it.
I've left a handful of comments, but we're definitely in the right direction.
0cc4096
to
d7bf789
Compare
@ConnorKirk - please take a look at this also |
One clarifying question - If a user provides the At the moment, buffering is disabled unless explicitly enabled, even if the rest of the log buffering object is provided. |
This commit enables the buffering feature for the logger utility It allows the user to configure the buffering functionality in the logger constructor.
35e6487
to
6c3bac7
Compare
Yes, it should be enabled whenever |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the work on this PR, let's merge it!
Summary
This PR enables the buffering feature for the logger utility.
It allows the user to configure the buffering functionality in the logger constructor.
The core of this PR is adding allow the behaviour of log buffering to be configured.
Changes
logBufferOptions
object to the Logger configflushBuffer
method publicIssue number: closes #3634
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.