diff --git a/src/util/log.h b/src/util/log.h index 641b81ff353..38214f967cc 100644 --- a/src/util/log.h +++ b/src/util/log.h @@ -10,6 +10,8 @@ #include // IWYU pragma: export #include #include +#include +#include #include #include @@ -53,6 +55,8 @@ struct Entry { Category category; Level level; bool should_ratelimit{false}; //!< Hint for consumers if this entry should be ratelimited + SystemClock::time_point timestamp{SystemClock::now()}; + std::string thread_name{util::ThreadGetInternalName()}; SourceLocation source_loc; std::string message; };