aboutsummaryrefslogtreecommitdiff
path: root/include/cru/win/DebugLogger.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/win/DebugLogger.h')
-rw-r--r--include/cru/win/DebugLogger.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/include/cru/win/DebugLogger.h b/include/cru/win/DebugLogger.h
deleted file mode 100644
index 43e08f20..00000000
--- a/include/cru/win/DebugLogger.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#pragma once
-#include "Base.h"
-
-#include "cru/common/log/Logger.h"
-
-namespace cru::platform::win {
-
-class CRU_WIN_API 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