mirror of
https://github.com/espressif/openthread.git
synced 2026-09-04 08:10:11 +00:00
Add NCP as a log region option in logging.h (#304)
This commit adds new log region for NCP (kLogRegionNcp). It also adds the support for posix platform logging implementation.
This commit is contained in:
committed by
Jonathan Hui
parent
2e31f499d6
commit
440ea46775
@@ -103,6 +103,10 @@ void otPlatLog(otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat
|
||||
case kLogRegionMem:
|
||||
fprintf(stderr, "MEM ");
|
||||
break;
|
||||
|
||||
case kLogRegionNcp:
|
||||
fprintf(stderr, "NCP ");
|
||||
break;
|
||||
}
|
||||
|
||||
va_start(args, aFormat);
|
||||
|
||||
Reference in New Issue
Block a user