#include <time.h>
#include <malloc.h>
+#include <plp/log.h>
+
#include "Date.hh"
using namespace std;
}
void Date::printout() {
- cout << "date: " << year << " " << month << " " << day << " " << hour << " " << min << " " << sec << endl;
+ log_debug("%d-%02d-%02d %02d:%02d:%02d\n", year, month, day, hour, min, sec);
}
Date *Date::clone() {