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:
Abtin Keshavarzian
2016-07-29 17:52:09 -07:00
committed by Jonathan Hui
parent 2e31f499d6
commit 440ea46775
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -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);