| 62 | } |
| 63 | |
| 64 | void Log::writeToConsole([[maybe_unused]] const std::string& msg) |
| 65 | { |
| 66 | #if defined(_WIN32) |
| 67 | // Output to windows debug console. |
| 68 | std::wstring widestr = std::wstring(msg.begin(), msg.end()); |
| 69 | OutputDebugString(widestr.c_str()); |
| 70 | #endif |
| 71 | } |
| 72 | |
| 73 | } // namespace Foundation |
| 74 | } // namespace Aurora |