cae  0.0.0
Cross-API graphics engine
Loading...
Searching...
No Matches
logger.cpp
Go to the documentation of this file.
1#include "Utils/Logger.hpp"
2
3#ifdef _WIN32
4#include <windows.h>
5#endif
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()
Initialize the logger.
Definition logger.cpp:7