Make debug lines a bit smaller.
Well, a byte actually, not bit...
This commit is contained in:
1 parent
4e16e9f80e
commit
dc8cdd40de
1 file changed
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user