Fixed source location and make SPDLOG_TRACE: that only one that inject source location info.

This commit is contained in:
gabime
2018-11-24 17:08:13 +02:00
parent 1293af093c
commit dc13700094
5 changed files with 29 additions and 17 deletions

View File

@@ -79,7 +79,7 @@ public:
void log(level::level_enum lvl, const wchar_t *fmt, const Args &... args);
template<typename... Args>
void log(source_location soruce, level::level_enum lvl, const wchar_t *fmt, const Args &... args);
void log(source_loc soruce, level::level_enum lvl, const wchar_t *fmt, const Args &... args);
template<typename... Args>
void trace(const wchar_t *fmt, const Args &... args);