logging changed to spdlog
This commit is contained in:
@@ -9,11 +9,7 @@
|
||||
#include "utils.h"
|
||||
|
||||
#undef sys_err
|
||||
#ifndef OS_WINDOWS
|
||||
#define sys_err(fmt, args...) quest::CQuestManager::instance().QuestError(__FUNCTION__, __LINE__, fmt, ##args)
|
||||
#else
|
||||
#define sys_err(fmt, ...) quest::CQuestManager::instance().QuestError(__FUNCTION__, __LINE__, fmt, __VA_ARGS__)
|
||||
#endif
|
||||
#define sys_err(fmt, ...) quest::CQuestManager::instance().QuestError(std::source_location::current(), fmt __VA_OPT__(, __VA_ARGS__))
|
||||
|
||||
extern int (*check_name) (const char * str);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user