Make debug lines a bit smaller.

Well, a byte actually, not bit...
This commit is contained in:
Alexey Sokolov
2012-04-14 19:07:11 +07:00
parent 4e16e9f80e
commit dc8cdd40de

View File

@@ -49,7 +49,7 @@ public:
tm* time_info = localtime(&time_now.tv_sec);
strftime(buf, sizeof(buf), "[%Y-%m-%d %H:%M:%S.", time_info);
std::ostringstream buffer;
buffer << buf << std::setw(6) << std::setfill('0') << (time_now.tv_usec) << "]: ";
buffer << buf << std::setw(6) << std::setfill('0') << (time_now.tv_usec) << "] ";
return buffer.str();
}