pub unsafe extern "C" fn otLoggingSetLevel(aLogLevel: i32) -> u32
Expand description
Sets the log level.
@note This function requires OPENTHREAD_CONFIG_LOG_LEVEL_DYNAMIC_ENABLE=1
.
@param[in] aLogLevel The log level.
@retval OT_ERROR_NONE Successfully updated log level. @retval OT_ERROR_INVALID_ARGS Log level value is invalid.