diff --git a/src/ZmqLogger.cpp b/src/ZmqLogger.cpp index 96bccbbf..27da2977 100644 --- a/src/ZmqLogger.cpp +++ b/src/ZmqLogger.cpp @@ -176,14 +176,6 @@ void ZmqLogger::AppendDebugMethod(string method_name, string arg1_name, float ar stringstream message; message << fixed << setprecision(4); - - // Prepend current time (hires) to message - struct timespec ts; - clock_gettime(CLOCK_REALTIME, &ts); - char timebuf[80]; - strftime(timebuf, sizeof timebuf, "%F %T", localtime(&ts.tv_sec)); - message << timebuf << "." << std::setiosflags(std::ios::right) << std::setw(9) << std::setfill('0') << ts.tv_nsec << " "; - message << method_name << " ("; // Add attributes to method JSON @@ -211,4 +203,4 @@ void ZmqLogger::AppendDebugMethod(string method_name, string arg1_name, float ar // Send message through ZMQ Log(message.str()); } -} +} \ No newline at end of file