aboutsummaryrefslogtreecommitdiff
path: root/src/win/DebugLogger.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/win/DebugLogger.hpp')
-rw-r--r--src/win/DebugLogger.hpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/win/DebugLogger.hpp b/src/win/DebugLogger.hpp
deleted file mode 100644
index 5e78af22..00000000
--- a/src/win/DebugLogger.hpp
+++ /dev/null
@@ -1,23 +0,0 @@
-#include "cru/win/WinPreConfig.hpp"
-
-#include "cru/common/Logger.hpp"
-
-namespace cru::platform::win {
-
-class WinDebugLoggerSource : public ::cru::log::ILogSource {
- public:
- WinDebugLoggerSource() = default;
-
- CRU_DELETE_COPY(WinDebugLoggerSource)
- CRU_DELETE_MOVE(WinDebugLoggerSource)
-
- ~WinDebugLoggerSource() = default;
-
- void Write(::cru::log::LogLevel level, StringView s) override {
- CRU_UNUSED(level)
-
- String m = s.ToString();
- ::OutputDebugStringW(reinterpret_cast<const wchar_t*>(m.c_str()));
- }
-};
-} // namespace cru::platform::win