Skip to main content

ss_runtime_set_log_callback

Function ss_runtime_set_log_callback 

Source
#[unsafe(no_mangle)]
pub extern "C" fn ss_runtime_set_log_callback(callback: SsLogCallback)
Expand description

Register the function that receives a message for every failure the runtime records, for the whole process. It runs on the thread of the failing call, and message is valid only during it. level is one of SS_RUNTIME_LOG_*.