diff options
author | crupest <crupest@outlook.com> | 2022-01-28 22:33:29 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-28 22:33:29 +0800 |
commit | fb992c554110ddd28c18b2cbed79eee8e10cd4a9 (patch) | |
tree | c6636b723326159d791cd610e1429cae0fe5f6e4 /src/win/DebugLogger.hpp | |
parent | 8d4d66d1bc4d5237c7dbac3013c7ecc6d5a36a35 (diff) | |
parent | 27ef6b29fe9ea6931dd9aef585e8b9467599b5f1 (diff) | |
download | cru-fb992c554110ddd28c18b2cbed79eee8e10cd4a9.tar.gz cru-fb992c554110ddd28c18b2cbed79eee8e10cd4a9.tar.bz2 cru-fb992c554110ddd28c18b2cbed79eee8e10cd4a9.zip |
Merge branch 'main' of https://github.com/crupest/cru
Diffstat (limited to 'src/win/DebugLogger.hpp')
-rw-r--r-- | src/win/DebugLogger.hpp | 23 |
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 |