diff options
author | crupest <crupest@outlook.com> | 2022-02-21 20:47:44 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-02-21 20:47:44 +0800 |
commit | 6f398efaacd4cf733fcaedf29b648d17899071f0 (patch) | |
tree | f9bbd4102ce84c1714ba7dfd97c705ffce93f53e /include/cru/win/DebugLogger.h | |
parent | ced1a63686e6c64cb574d74a34d1bbd07d0a668e (diff) | |
download | cru-6f398efaacd4cf733fcaedf29b648d17899071f0.tar.gz cru-6f398efaacd4cf733fcaedf29b648d17899071f0.tar.bz2 cru-6f398efaacd4cf733fcaedf29b648d17899071f0.zip |
...
Diffstat (limited to 'include/cru/win/DebugLogger.h')
-rw-r--r-- | include/cru/win/DebugLogger.h | 24 |
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 |