t8-mod/source/proxy-dll/component/logger.hpp

16 lines
236 B
C++
Raw Normal View History

2023-03-06 15:40:07 -05:00
#pragma once
namespace logger
{
enum type
{
LOG_TYPE_DEBUG = 0,
LOG_TYPE_INFO = 1,
LOG_TYPE_WARN = 2,
LOG_TYPE_ERROR = 3
};
void write(const int type, std::string str);
void write(const int type, const char* fmt, ...);
}