Commit e0be8a44 authored by captainwong's avatar captainwong

change JLOG_ALL for cross platform

parent 92282aa2
......@@ -38,7 +38,12 @@ inline void init_logger(const std::string& file_name = "")
#define JLOG_WARN spdlog::get(g_logger_name)->warn
#define JLOG_ERRO spdlog::get(g_logger_name)->error
#define JLOG_CRTC spdlog::get(g_logger_name)->critical
#ifdef _WIN32
#define JLOG_ALL(args, ...) spdlog::get(jlib::g_logger_name)->log(spdlog::level::off, args, __VA_ARGS__)
#else
#define JLOG_ALL(args...) spdlog::get(jlib::g_logger_name)->log(spdlog::level::off, args)
#endif /* _WIN32 */
//#define JLOG JLOG_INFO
#define JLOGB(b, l) (b, l)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment