Skip to content
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

Use bufio.NewWriter for buffered logging? #200

Open
atc0005 opened this issue Jan 9, 2020 · 0 comments
Open

Use bufio.NewWriter for buffered logging? #200

atc0005 opened this issue Jan 9, 2020 · 0 comments
Assignees
Labels
logging question Further information is requested
Milestone

Comments

@atc0005
Copy link
Owner

atc0005 commented Jan 9, 2020

Looking over Go by Example: Writing Files I see that bufio.NewWriter is used to buffer content before writing it to what I assume is an io.Writer interface. Can we target the logrus object with a buffered writer?

Even if we can, is there support for delayed filtering of logging levels? If not, then using a buffered writer won't help us.

@atc0005 atc0005 added question Further information is requested logging labels Jan 9, 2020
@atc0005 atc0005 added this to the Future milestone Jan 9, 2020
@atc0005 atc0005 self-assigned this Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
logging question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant