Skip to main content

libsession_set_log_level

Function libsession_set_log_level 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn libsession_set_log_level( ctx: *mut LibsessionContext, log_level: LibsessionLogLevel, ) -> LibsessionStatus
Expand description

Sets the context’s logging level.

§Safety

Non-null ctx must be a live context on the thread that created it and remain valid for this call.