blob: 92d26449c6cfb263ce033e18138b2079a8c5f03c (
plain)
| 1
2
3
4
5
6
7
8
9
10
 | #include "cru/common/platform/win/DebugLogTarget.h"
namespace cru::platform::win {
void WinDebugLogTarget::Write(::cru::log::LogLevel level, StringView s) {
  CRU_UNUSED(level)
  String m = s.ToString();
  ::OutputDebugStringW(reinterpret_cast<const wchar_t*>(m.c_str()));
}
}  // namespace cru::platform::win
 |