kopia lustrzana https://gitlab.com/tomaszg/geostat
Commented out code to print timestamp in debug msg
rodzic
bada68f34c
commit
3a4f7fb308
|
@ -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 << " ";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue