Logging
This module includes OpenThread logging related definitions.
Summary
Functions |
|
---|---|
otLoggingGetLevel(void)
|
This function returns the current log level.
|
otLoggingSetLevel(otLogLevel aLogLevel)
|
This function sets the log level.
|
Functions
otLoggingGetLevel
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.
Details | |
---|---|
Returns |
The log level.
|
otLoggingSetLevel
otError otLoggingSetLevel( otLogLevel aLogLevel )
This function sets the log level.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Return Values |
|