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

Support asynchronous file logging #1

Open
greaka opened this issue Sep 5, 2021 · 2 comments
Open

Support asynchronous file logging #1

greaka opened this issue Sep 5, 2021 · 2 comments

Comments

@greaka
Copy link

greaka commented Sep 5, 2021

It's a minor thing, really, but it would be nice if file logging wouldn't block until it's fully written to disk. I assume this is by design, so there would probably be the need of a parameter or separate function call to get this right.

@megai2
Copy link
Collaborator

megai2 commented Sep 5, 2021

How much async it should be?
I can simple remove flush, but this can be not enough.

@megai2
Copy link
Collaborator

megai2 commented Sep 5, 2021

added one without fflush at least

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants