removing file path from LOG_LEVEL and adding time stamp

Change-Id: Ia32f21353adad4dcb4928909361fe0420c502c1e
This commit is contained in:
Payam
2020-04-04 09:15:43 -04:00
committed by Payam Ghafari
parent 43b9863e17
commit 7052e21c87
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ void log_printf(LogLevel level, const char* file, int line, const char* format,
vsnprintf(message, sizeof(message), format, ap);
va_end(ap);
fprintf(stderr, ":%d:%s:%d: %s\n", level, file, line, message);
fprintf(stderr, ":%d:%-25s:%-4d: %010lld: %s\n", level, file, line, Os::timeNanos() / 100ULL, message);
}
} // namespace amd