Inicio sesión
Este módulo incluye definiciones relacionadas con el registro de OpenThread.
Resumen
Funciones | |
---|---|
otLoggingGetLevel (void) | Esta función devuelve el nivel de registro actual. |
otLoggingSetLevel ( otLogLevel aLogLevel) | Esta función establece el nivel de registro. |
Funciones
otLoggingGetLevel
otLogLevel otLoggingGetLevel( void )
Esta función devuelve el nivel de registro actual.
Si la función de nivel de registro dinámico OPENTHREAD_CONFIG_LOG_LEVEL_DYNAMIC_ENABLE
está habilitada, esta función devuelve el nivel de registro dinámico establecido actualmente. De lo contrario, esta función devuelve el nivel de registro configurado en tiempo de compilación.
Detalles | |
---|---|
Devoluciones | El nivel de registro. |
otLoggingSetLevel
otError otLoggingSetLevel( otLogLevel aLogLevel )
Esta función establece el nivel de registro.
Detalles | |||||
---|---|---|---|---|---|
Parámetros |
| ||||
Valores devueltos |
|