Add debug message

This commit is contained in:
Changhua 2023-02-27 23:56:46 +08:00
parent f4dde9685a
commit a4989a3ad6
2 changed files with 2 additions and 1 deletions

View File

@ -286,6 +286,7 @@ static void PushMessage()
if (rv != 0) {
LOG_ERROR("nng_send: {}", rv);
}
LOG_DEBUG("Send data length {}", stream.bytes_written);
}
}
}

View File

@ -21,7 +21,7 @@ void InitSpy()
LOG_ERROR("获取微信版本失败");
return;
}
LOG_DEBUG("WeChat version: {}", Wstring2String(version).c_str());
if (LoadCalls(version, &g_WxCalls) != 0) { //加载微信版本对应的Call地址
LOG_ERROR("不支持当前版本");
return;