write_log_to_file

Function write_log_to_file 

#[unsafe(no_mangle)]
pub unsafe extern "C" fn write_log_to_file(text: *const c_char)
Available on crate feature logging only.
Expand description

Writes a log message to the output.

The default implementation writes the message to the log file or stdout depending on the value read by log_util_init.

Our implementation doesn’t do anything because we already log in log_util_format_msg.

§Safety

This function is safe to call IFF text is a valid null-terminated C string.