Default Logging Support (#1054)

* Add support for NCP passing logs up in the SPINEL_PROP_STREAM_DEBUG command.
This commit is contained in:
Nick Banks
2016-12-12 09:18:04 -08:00
committed by Jonathan Hui
parent a3b464044e
commit b38faa8fa0
13 changed files with 157 additions and 263 deletions
-14
View File
@@ -37,7 +37,6 @@
#include <stdarg.h>
#include <openthread-types.h>
#include <platform/logging.h>
#ifdef __cplusplus
extern "C" {
@@ -51,19 +50,6 @@ extern "C" {
*/
void otCliUartInit(otInstance *aInstance);
#if OPENTHREAD_ENABLE_CLI_LOGGING
/**
* This method delivers formatted log to the client.
*
* @param[in] aLogLevel The log level.
* @param[in] aLogRegion The log region.
* @param[in] aFormat A pointer to the format string.
* @param[in] aAp Arguments pointer for the format specification.
*
*/
void otCliLog(otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat, va_list aAp);
#endif
#ifdef __cplusplus
} // extern "C"
#endif