__ql_log

Function __ql_log 

#[unsafe(no_mangle)]
pub unsafe extern "C" fn __ql_log( file_name: *const c_char, line_no: c_int, func: *const c_char, level: c_int, fmt: *const c_char, ... )
Available on crate feature logging only.
Expand description

Sends a formatted string to the log.

Originally provided by ql_log (see header quectel_log.h).

ยงSafety

This function is safe to call IFF the following is true:

  • file_name is a valid null-terminated C string.
  • func is a valid null-terminated C string.
  • fmt is a valid null-terminated C string.
  • The variadic parameters are valid for the printf format string in fmt.