Function cgl_rs::logger::flush

source ·
pub fn flush()
Expand description

Flushes all log messages to their respective log files.

Example

cgl_rs::logger::init(true);
// ...
cgl_rs::logger::flush();
// ...
cgl_rs::logger::shutdown();