Skip to main content

logging_sync_to_disk

Function logging_sync_to_disk 

Source
pub fn logging_sync_to_disk() -> Result<()>
Expand description

Flushes and syncs file logs to disk.

This is a no-op when logging is not initialized or file logging is disabled.

ยงErrors

Returns an error if the sync request cannot be delivered or acknowledged.