Function plugin_set_log_level
Source #[unsafe(no_mangle)]
pub unsafe extern "C" fn plugin_set_log_level(
handle: *mut c_void,
level: u8,
)
Expand description
Set the log level for a plugin
§Parameters
handle: Plugin handle from plugin_init
level: Log level (0=Trace, 1=Debug, 2=Info, 3=Warn, 4=Error, 5=Off)
§Safety
handle must be a valid handle from plugin_init