Update console.hpp

This commit is contained in:
quaK 2022-05-18 14:37:00 +03:00
parent 76906a221e
commit 3d91f1c035

View File

@ -9,7 +9,7 @@ namespace console
enum console_type enum console_type
{ {
con_type_error = 1, con_type_error = 1,
con_type_dev = 2, con_type_debug = 2,
con_type_warning = 3, con_type_warning = 3,
con_type_info = 7 con_type_info = 7
}; };
@ -26,7 +26,7 @@ namespace console
void debug(const char* fmt, Args&&... args) void debug(const char* fmt, Args&&... args)
{ {
#ifdef DEBUG #ifdef DEBUG
print(2, fmt, std::forward<Args>(args)...); print(con_type_debug, fmt, std::forward<Args>(args)...);
#endif #endif
} }