Switched to a custom logging lib instead of that spdlog junk

This commit is contained in:
AlexandreRouma
2023-02-25 18:12:34 +01:00
parent 7e80bbd02c
commit 7723d15e8f
154 changed files with 723 additions and 19918 deletions

View File

@ -321,7 +321,7 @@ private:
auto startTime = std::chrono::high_resolution_clock::now();
demod::Demodulator* demod = instantiateDemod(id);
if (!demod) {
spdlog::error("Demodulator {0} not implemented", id);
flog::error("Demodulator {0} not implemented", (int)id);
return;
}
selectedDemodID = id;
@ -332,7 +332,7 @@ private:
config.conf[name]["selectedDemodId"] = id;
config.release(true);
auto endTime = std::chrono::high_resolution_clock::now();
spdlog::warn("Demod switch took {0} us", (std::chrono::duration_cast<std::chrono::microseconds>(endTime - startTime)).count());
flog::warn("Demod switch took {0} us", (std::chrono::duration_cast<std::chrono::microseconds>(endTime - startTime)).count());
}
void selectDemod(demod::Demodulator* demod) {