add trace() as DEBUG debug()

Replace DEBUG debug() with trace() everywhere
This commit is contained in:
Lion Kortlepel
2021-08-31 11:50:06 +03:00
committed by Lion
parent fe36191baf
commit 809a851c71
9 changed files with 34 additions and 81 deletions

View File

@@ -92,7 +92,6 @@ TClient::TClient(TServer& Server)
void TClient::UpdatePingTime() {
mLastPingTime = std::chrono::high_resolution_clock::now();
//debug(GetName() + ": " + std::string("ping time updated!: ") + ((SecondsSinceLastPing() == 0) ? "OK" : "ERR"));
}
int TClient::SecondsSinceLastPing() {
auto seconds = std::chrono::duration_cast<std::chrono::seconds>(