slog-rs / async

Asynchronous drain for slog-rs v2
Apache License 2.0
28 stars 24 forks source link

fix: Implement `flush` function on `Async` #36

Open gabyx opened 8 months ago

gabyx commented 8 months ago

See https://github.com/slog-rs/slog/pull/332

gabyx commented 8 months ago

Not really sure if that feature is needed: The use case was #35 :

So if we would have a term logger we could before prompting just use log.flush(...) and then show the prompt and wait for input etc...

dpc commented 8 months ago

Looks reasonable to me. Ping @Techcable as current maintainer.