Description

Flush immediately processes all currently queued messages and all currently buffered messages. It is a blocking call which returns only after the queue is empty and all the buffers are empty.

If Flush is called for a synchronous logger (type='sync'), it only flushes buffers (e.g. '<buffered>' receivers) , because there is no queue.

Call this method when your app is going to shut down not to lose any log messages.

Flush is referenced in 52 repositories

github.com/cihub/seelog github.com/ohlinux/pdo github.com/IIInsomnia/yiigo

...