r-type  0.0.0
R-Type main
Loading...
Searching...
No Matches
logger.cpp
Go to the documentation of this file.
1#ifdef _WIN32
2#include <windows.h>
3#endif
4
5#include "Utils/Logger.hpp"
6
8{
9#ifdef _WIN32
10 const HANDLE hOut = GetStdHandle(STD_OUTPUT_HANDLE);
11 DWORD dwMode = 0;
12 if (hOut != INVALID_HANDLE_VALUE && GetConsoleMode(hOut, &dwMode))
13 {
14 SetConsoleMode(hOut, dwMode | ENABLE_VIRTUAL_TERMINAL_PROCESSING);
15 }
16#endif
17}
This file contains the Logger class.
static void init()
Definition logger.cpp:7