pub unsafe extern "C" fn ddwaf_set_log_cb(
cb: ddwaf_log_cb,
min_level: DDWAF_LOG_LEVEL,
) -> bool
Expand description
ddwaf_set_log_cb
Sets the callback to relay logging messages to the binding
@param cb The callback to call, or NULL to stop relaying messages @param min_level The minimum logging level for which to relay messages
@return whether the operation succeeded or not
@note This function is not thread-safe