mirror of
https://github.com/espressif/openthread.git
synced 2026-07-26 13:59:05 +00:00
Default Logging Support (#1054)
* Add support for NCP passing logs up in the SPINEL_PROP_STREAM_DEBUG command.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user