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
7
void
utl::Logger::init
()
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
}
Logger.hpp
This file contains the Logger class.
utl::Logger::init
static void init()
Definition
logger.cpp:7
modules
Utils
src
logger.cpp
Generated by
1.11.0