Commented out code to print timestamp in debug msg

sql-rework
Tomasz Golinski 2020-02-17 01:18:13 +01:00
rodzic bada68f34c
commit 3a4f7fb308
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -1,5 +1,7 @@
#include "debug.h"
// #include <ctime>
int Debug::debug_level = 1;
Debug::Debug(int n) : lvl(n) {
@ -9,6 +11,10 @@ Debug::Debug(int n) : lvl(n) {
indent.append(lvl - 1, '\t');
if (lvl > 1) indent.append("*** ");
std::cout << indent;
// std::time_t now = std::time(nullptr);
// std::string dt = std::ctime(&now);
// std::cout << dt << " ";
}
}