loader-core icon indicating copy to clipboard operation
loader-core copied to clipboard

Support asynchronous file logging

Open greaka opened this issue 4 years ago • 2 comments

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.

greaka avatar Sep 05 '21 02:09 greaka

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

megai2 avatar Sep 05 '21 15:09 megai2

added one without fflush at least

megai2 avatar Sep 05 '21 15:09 megai2