Function safe_app::ffi::logging::app_init_logging
[−]
[src]
#[no_mangle]pub unsafe extern "C" fn app_init_logging(
output_file_name_override: *const c_char,
user_data: *mut c_void,
o_cb: extern "C" fn(_: *mut c_void, _: FfiResult)
)
This function should be called to enable logging to a file.
If output_file_name_override
is provided, then this path will be used for
the log output file.
Callback parameters: user data, error code