Function pact_ffi::log::pactffi_log_to_file
source · #[no_mangle]
pub unsafe extern "C" fn pactffi_log_to_file(
file_name: *const c_char,
level_filter: LevelFilter
) -> c_int
Expand description
Convenience function to direct all logging to a file.
§Safety
This function will fail if the file_name pointer is invalid or does not point to a NULL terminated string.