t8-mod/source/proxy-dll/component/logger.hpp
2023-03-06 12:40:07 -08:00

16 lines
236 B
C++

#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, ...);
}