1. 修复扩展格式的日志打印堆栈信息
This commit is contained in:
parent
550f7b4aaa
commit
3a95d5e09e
@ -270,7 +270,6 @@ void HDLogOut(uint8_t ext, uint8_t level, const char *fileName, const char *func
|
|||||||
{
|
{
|
||||||
printf(_LOG_BASE_INFO, fileName, funcName, line);
|
printf(_LOG_BASE_INFO, fileName, funcName, line);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (HBitGet(sLogItem, kLogLevelStack))
|
if (HBitGet(sLogItem, kLogLevelStack))
|
||||||
{
|
{
|
||||||
@ -285,6 +284,8 @@ void HDLogOut(uint8_t ext, uint8_t level, const char *fileName, const char *func
|
|||||||
printf("[0x%04X]", sGetCurrHeapSize(0));
|
printf("[0x%04X]", sGetCurrHeapSize(0));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
_LOG_USE_COLOR(_LOG_COLOR_CYAN);
|
_LOG_USE_COLOR(_LOG_COLOR_CYAN);
|
||||||
|
|
||||||
va_list args;
|
va_list args;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user