Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgabime <gmelman1@gmail.com>2019-06-14 00:23:25 +0300
committergabime <gmelman1@gmail.com>2019-06-14 00:23:25 +0300
commitc09dee7717e1ae7289fe18977405e9c33fb48ab0 (patch)
tree310a7ef1e2cb2e288b9941d3e9b43b8d045914ca /include/spdlog/spdlog.h
parent352281313fe1c4313bc222cb9de222afd50c822f (diff)
Moved source filename shortening to pattern formatter instead of macro
Diffstat (limited to 'include/spdlog/spdlog.h')
-rw-r--r--include/spdlog/spdlog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/spdlog/spdlog.h b/include/spdlog/spdlog.h
index fa4c9649..d3dd2af1 100644
--- a/include/spdlog/spdlog.h
+++ b/include/spdlog/spdlog.h
@@ -267,7 +267,7 @@ inline void critical(const wchar_t *fmt, const Args &... args)
do \
{ \
if (logger->should_log(level)) \
- logger->log(spdlog::source_loc{SPDLOG_FILE_BASENAME(__FILE__), __LINE__, SPDLOG_FUNCTION}, level, __VA_ARGS__); \
+ logger->log(spdlog::source_loc{__FILE__, __LINE__, SPDLOG_FUNCTION}, level, __VA_ARGS__); \
} while (0)
#if SPDLOG_ACTIVE_LEVEL <= SPDLOG_LEVEL_TRACE