openthread_sys

Function otLoggingSetLevel

Source
pub unsafe extern "C" fn otLoggingSetLevel(
    aLogLevel: otLogLevel,
) -> otError
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.