t8-mod/source/proxy-dll/component/logger.hpp
project-bo4 84facee97e Functionality Improvements
+ Added 'keycatchers' as an standalone component
+ Improvement to logger with output division
+ Improvements to game console
2024-07-29 02:08:10 -04:00

17 lines
260 B
C++

#pragma once
namespace logger
{
enum type
{
LOG_TYPE_DEBUG = 0,
LOG_TYPE_INFO = 1,
LOG_TYPE_WARN = 2,
LOG_TYPE_ERROR = 3,
LOG_TYPE_CONSOLE = 4
};
void write(const int type, std::string str);
void write(const int type, const char* fmt, ...);
}