1.Add spdlog to save log file
2.Add program options to connect specific broadcast code and decide whether to save log file
3.Add comments in readme for windows 64-bit project compilation
This commit is contained in:
Livox-SDK
2019-04-12 10:09:56 +08:00
parent 12c954d175
commit b65ec710ce
70 changed files with 15690 additions and 89 deletions
+3 -3
View File
@@ -48,7 +48,7 @@ bool IOLoop::Init() {
#endif
if (rv != APR_SUCCESS) {
LOG_ERROR << PrintAPRStatus(rv) << std::endl;
LOG_ERROR(PrintAPRStatus(rv));
return false;
}
@@ -141,14 +141,14 @@ void IOLoop::Loop() {
}
if (rv != APR_SUCCESS && !APR_STATUS_IS_TIMEUP(rv) && !APR_STATUS_IS_EINTR(rv)) {
LOG_ERROR << PrintAPRStatus(rv) << std::endl;
LOG_ERROR(PrintAPRStatus(rv));
}
}
bool IOLoop::Wakeup() {
apr_status_t rv = apr_pollset_wakeup(pollset_);
if (rv != APR_SUCCESS) {
LOG_ERROR << PrintAPRStatus(rv) << std::endl;
LOG_ERROR(PrintAPRStatus(rv));
return false;
}
return true;