pub fn init_log_with_file(file: File) -> Option<()> {
    if LOG_INIT.is_completed() {
        None
    } else {
        LOG_INIT.call_once(|| {
            fil_logger::init_with_file(file);
        });
        Some(())
    }
}
/// Initialize the logger with a file to log into
///
/// Returns `None` if there is already an active logger
Initialize the logger with a file to log into
Returns `None` if there is already an active logger
Initialize the logger with a file to log into Returns ` None ` if there is already an active logger
pub fn init_log_with_file(file: File) -> Option<()> {
    if LOG_INIT.is_completed() {
        None
    } else {
        LOG_INIT.call_once(|| {
            fil_logger::init_with_file(file);
        });
        Some(())
    }
}
pub fn init_log_with_file ( file : File ) -> Option < ( ) > { if LOG_INIT . is_completed ( ) { None } else { LOG_INIT . call_once ( | | { fil_logger :: init_with_file ( file ) ; } ) ; Some ( ( ) ) } }
Initialize the logger with a file to log into
Returns `None` if there is already an active logger
Initialize the logger with a file to log into Returns ` None ` if there is already an active logger
file
File
file
File