This module includes OpenThread logging related definitions. More...
Functions | |
otLogLevel | otLoggingGetLevel (void) |
void | otLoggingSetLevel (otLogLevel aLogLevel) |
This module includes OpenThread logging related definitions.
otLogLevel otLoggingGetLevel | ( | void | ) |
This function returns the current log level.
If dynamic log level feature OPENTHREAD_CONFIG_LOG_LEVEL_DYNAMIC_ENABLE
is enabled, this function returns the currently set dynamic log level. Otherwise, this function returns the build-time configured log level.
void otLoggingSetLevel | ( | otLogLevel | aLogLevel | ) |
This function sets the log level.
OPENTHREAD_CONFIG_LOG_LEVEL_DYNAMIC_ENABLE=1
.[in] | aLogLevel | The log level. |