[logging] dynamic level enhancements (#4809)

* Add cli command to get/set log level
* Add cmake option to enable dynamic log level
* Aggregate logfilename as sub-command of `log` command
* Add log level test
* Update readme
This commit is contained in:
Yakun Xu
2020-04-11 22:11:38 -07:00
committed by GitHub
parent 52777fb459
commit 0cd682f048
10 changed files with 182 additions and 19 deletions
+4 -1
View File
@@ -70,8 +70,11 @@ otLogLevel otLoggingGetLevel(void);
*
* @param[in] aLogLevel The log level.
*
* @retval OT_ERROR_NONE Successfully updated log level.
* @retval OT_ERROR_INVALID_ARGS Log level value is invalid.
*
*/
void otLoggingSetLevel(otLogLevel aLogLevel);
otError otLoggingSetLevel(otLogLevel aLogLevel);
/**
* @}