Loguru: Async Version

Created on 13 Dec 2018  路  4Comments  路  Source: Delgan/loguru

It would be great if we could "fire & forget" log entries using an async handler that uses a seperate thread or process with options to guarantee order, commit, performance (lazy write) and/or confirmation that the write was completed.

question

All 4 comments

Hello @HarveySummers. What do you think of the current enqueue option which does just that: run a separate thread where are send and processed log entries according to the configured handler?

@HarveySummers Does the enqueue parameter suit your needs for asynchronous logging?

I'm closing this as I think the enqueue option answers the question.

If this is not the case, feel free to re-open it. 馃槈

Sorry for the late response - but yes, it does. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Gopichand995 picture Gopichand995  路  4Comments

zhouxiaomao picture zhouxiaomao  路  6Comments

talz picture talz  路  6Comments

AllanLRH picture AllanLRH  路  6Comments

oz123 picture oz123  路  4Comments