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
2023-06-24 10:01:54 +03:00
committed by GPUCode
parent 98e9f4c32e
commit 8f51dd9513
6 changed files with 37 additions and 18 deletions

View File

@ -6,7 +6,9 @@
#include <exception>
#include <thread>
#include <vector>
#include "common/common_paths.h"
#include <fmt/format.h>
#ifdef _WIN32
#include <share.h> // For _SH_DENYWR
#include <windows.h> // For OutputDebugStringW
@ -22,12 +24,14 @@
#define CITRA_LINUX_GCC_BACKTRACE
#endif
#include "common/common_paths.h"
#include "common/file_util.h"
#include "common/literals.h"
#include "common/settings.h"
#include "common/thread.h"
#include "common/logging/backend.h"
#include "common/logging/log.h"
#include "common/logging/log_entry.h"
#include "common/logging/text_formatter.h"
#include "common/string_util.h"
#include "common/threadsafe_queue.h"