Adding timestamp to logger.

This commit is contained in:
Mikal Villa 2014-08-17 07:35:09 +02:00
parent 68ade60004
commit 05fa6757ce
4 changed files with 10 additions and 8 deletions

View file

@ -1,9 +1,11 @@
#include "Log.h"
#include <boost/date_time/posix_time/posix_time.hpp>
Log * g_Log = nullptr;
void LogMsg::Process()
{
output << boost::posix_time::second_clock::local_time() << " - ";
output << s.str();
}