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