1 #ifndef __TIMESTAMP_H__
2 #define __TIMESTAMP_H__
5 #include <boost/chrono.hpp>
23 boost::chrono::time_point<boost::chrono::system_clock> now;
24 now = boost::chrono::system_clock::now();
25 std::time_t now_time = boost::chrono::system_clock::to_time_t(now);
27 std::ostringstream timestamp;
28 timestamp << std::ctime(&now_time);
void execute(std::ostringstream &dump)
void prepend(std::ostringstream &dump, std::ostringstream &prepender)