pub type IWLOG_FN = Option<unsafe extern "C" fn(out: *mut FILE, locale: locale_t, lvl: iwlog_lvl, ecode: iwrc, errno_code: c_int, werror_code: c_int, file: *const c_char, line: c_int, ts: u64, opts: *mut c_void, fmt: *const c_char, argp: *mut __va_list_tag, no_va: bool) -> iwrc>;
Expand description

@brief Logging function pointer.

@param locale Locale used to print error message. @param lvl Log level. @param ecode Error code specified. @param errno_code Optional errno code. Set it to 0 if errno not used. @param file File name. Can be NULL @param line Line number in the file. @param ts Message time-stamp @param fmt printf style message format @return Not zero error code in the case of error.

@see iwlog_set_logfn(IWLOG_FN)