aboutsummaryrefslogtreecommitdiff
path: root/src/win/debug_logger.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-05-24 01:40:02 +0800
committercrupest <crupest@outlook.com>2020-05-24 01:40:02 +0800
commitd86a71f79afe0e4dac768f61d6bff690567aca5b (patch)
tree4957e9a64c77680deb07201fbd879bf036616dae /src/win/debug_logger.hpp
parentf3a8fd608a9776ef0a5f547da918a32cf6074060 (diff)
downloadcru-d86a71f79afe0e4dac768f61d6bff690567aca5b.tar.gz
cru-d86a71f79afe0e4dac768f61d6bff690567aca5b.tar.bz2
cru-d86a71f79afe0e4dac768f61d6bff690567aca5b.zip
...
Diffstat (limited to 'src/win/debug_logger.hpp')
-rw-r--r--src/win/debug_logger.hpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/win/debug_logger.hpp b/src/win/debug_logger.hpp
deleted file mode 100644
index b6694279..00000000
--- a/src/win/debug_logger.hpp
+++ /dev/null
@@ -1,24 +0,0 @@
-#include "cru/win/win_pre_config.hpp"
-
-#include "cru/common/logger.hpp"
-#include "cru/win/string.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, const std::string_view& s) override {
- CRU_UNUSED(level)
-
- const std::wstring&& ws = ToUtf16String(s);
- ::OutputDebugStringW(ws.data());
- }
-};
-} // namespace cru::platform::win