summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/common/Logging.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/common/Logging.h b/lib/common/Logging.h
index 7cf9d46c..ff557430 100644
--- a/lib/common/Logging.h
+++ b/lib/common/Logging.h
@@ -139,7 +139,9 @@
#define BOX_FORMAT_TIMESPEC(timespec) \
timespec.tv_sec << \
+ "." << \
std::setw(6) << \
+ std::setfill('0') << \
timespec.tv_usec
#define BOX_FORMAT_MICROSECONDS(t) \