Skip to main content

krun_set_log_level

Function krun_set_log_level 

Source
pub unsafe extern "C" fn krun_set_log_level(level: u32) -> i32
Expand description

Sets the log level for the library.

Arguments: “level” can be one of the following values: 0: Off 1: Error 2: Warn 3: Info 4: Debug 5: Trace

Returns: Zero on success or a negative error number on failure.