Function woodpecker::sync [] [src]

pub fn sync()

Ensures that the logging queue is completely consumed by the log thread.

Normally this should be called in the very end of the program execution to ensure that all log records are properly flushed.