[logging] remove NCP_SPINEL output (#5104)

This commit removes log output NCP_SPINEL and update the original log
output APP to use NCP_SPINEL behavior.
This commit is contained in:
Yakun Xu
2020-06-19 10:02:53 -07:00
committed by GitHub
parent c4fd7df086
commit b66ac5d907
25 changed files with 31 additions and 84 deletions
-13
View File
@@ -122,16 +122,3 @@ pseudo_reset:
return 0;
}
#if (OPENTHREAD_CONFIG_LOG_OUTPUT == OPENTHREAD_CONFIG_LOG_OUTPUT_APP)
void otPlatLog(otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat, ...)
{
OT_UNUSED_VARIABLE(aLogLevel);
OT_UNUSED_VARIABLE(aLogRegion);
va_list ap;
va_start(ap, aFormat);
otNcpPlatLogv(aLogLevel, aLogRegion, aFormat, ap);
va_end(ap);
}
#endif