| 59 | } |
| 60 | |
| 61 | void Log::LogErrorHandler(const std::string &message) |
| 62 | { |
| 63 | if (IsDebuggerPresent()) |
| 64 | { |
| 65 | static std::atomic_size_t counter = 0; |
| 66 | OutputDebugStringA(std::format("[*** LOG ERROR {:04} ***] {}\n", counter++, message).c_str()); |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | bool Log::IsInitialized() noexcept |
| 71 | { |