common/logging: Move Log::Entry declaration to a separate header

This reduces the load of requiring to include std::chrono in all files which include log.h
This commit is contained in:
ameerj 2021-09-30 16:11:47 -04:00
parent 8bd5742349
commit 5daf3abe65
12 changed files with 48 additions and 17 deletions

View file

@ -9,6 +9,8 @@
#include <thread>
#include <vector>
#include <fmt/format.h>
#ifdef _WIN32
#include <windows.h> // For OutputDebugStringW
#endif
@ -22,6 +24,7 @@
#include "common/logging/backend.h"
#include "common/logging/log.h"
#include "common/logging/log_entry.h"
#include "common/logging/text_formatter.h"
#include "common/settings.h"
#ifdef _WIN32