Skip to content

Commit

Permalink
Update Logging.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mbknust authored Jun 26, 2024
1 parent 4dd79c7 commit d8c9c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/logging/impl/stdio/Logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void LogV(const char * module, uint8_t category, const char * msg, va_list v)
#if defined(__APPLE__) || defined(__gnu_linux__)
timespec ts;
timespec_get(&ts, TIME_UTC);
printf("[%lld.%ld] ", static_cast<long long>(ts.tv_sec), static_cast<long>(ts.tv_nsec / 1000000));
printf("[%lld.%03ld] ", static_cast<long long>(ts.tv_sec), static_cast<long>(ts.tv_nsec / 1000000));
#endif

#if defined(__APPLE__)
Expand Down

0 comments on commit d8c9c2e

Please sign in to comment.