From 56cfd98e18568f34c5cb82e89d449cb81f3b74c4 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Thu, 22 Mar 2018 12:19:48 -0400 Subject: [PATCH] Fix order of logger --- src/util/logger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/logger.cpp b/src/util/logger.cpp index 5d833ea4..cb446c6b 100644 --- a/src/util/logger.cpp +++ b/src/util/logger.cpp @@ -30,7 +30,7 @@ static void printLog(const char *type, const char *format, va_list args) { auto nowTime = std::chrono::high_resolution_clock::now(); int duration = std::chrono::duration_cast(nowTime - startTime).count(); printTimestamp(); - fprintf(logFile, "[%s %.03f] ", duration / 1000.0, type); + fprintf(logFile, "[%.03f %s] ", duration / 1000.0, type); vfprintf(logFile, format, args); fprintf(logFile, "\n"); fflush(logFile);