pub fn set_debug_level(level: Type) -> Result<(), XI_RETURN>
Set the debug output level for the whole application