aboutsummaryrefslogtreecommitdiff
path: root/include/cru/base/platform/win/DebugLogTarget.h
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-11-07 00:11:38 +0800
committerYuqian Yang <crupest@crupest.life>2025-11-07 00:15:26 +0800
commitccf48eb93a101ba2412497ad5f3966e4f31d2178 (patch)
tree00911e33af6797dcbf897d125d11e44bf596b187 /include/cru/base/platform/win/DebugLogTarget.h
parentebb83c66e225375212f8e82e6b1bd8d3e3eb8646 (diff)
downloadcru-ccf48eb93a101ba2412497ad5f3966e4f31d2178.tar.gz
cru-ccf48eb93a101ba2412497ad5f3966e4f31d2178.tar.bz2
cru-ccf48eb93a101ba2412497ad5f3966e4f31d2178.zip
Win Resource.h to Base.h.
Diffstat (limited to 'include/cru/base/platform/win/DebugLogTarget.h')
-rw-r--r--include/cru/base/platform/win/DebugLogTarget.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/cru/base/platform/win/DebugLogTarget.h b/include/cru/base/platform/win/DebugLogTarget.h
index cabfa7e5..333e764f 100644
--- a/include/cru/base/platform/win/DebugLogTarget.h
+++ b/include/cru/base/platform/win/DebugLogTarget.h
@@ -1,15 +1,13 @@
#pragma once
#ifndef _WIN32
-#error "This file can only be used on Windows."
+#error "This file can only be included on Windows."
#endif
-#include "WinPreConfig.h"
-
+#include "Base.h"
#include "../../log/Logger.h"
namespace cru::platform::win {
-
class CRU_BASE_API WinDebugLogTarget : public ::cru::log::ILogTarget {
public:
void Write(::cru::log::LogLevel level, std::string s) override;