oct15demo
Results
2
comments of
oct15demo
#define fl_debug(...) log(spdlog::source_loc{__FILE__, __LINE__, static_cast(__FUNCTION__)}, spdlog::level::trace, __VA_ARGS__) Just using the above gives you the option of not using SPDLOG_DEBUG to see filename:line# without changing anything in the current code base....
If you don't like the awkwardness of typing the ALL CAPS macro (I don't), you can write your own macro, like so: #define debug(...) log(spdlog::source_loc{__FILE__, __LINE__, static_cast(__FUNCTION__)}, spdlog::level::debug, __VA_ARGS__) This...