From be70f5a932bbabc6e54f7182ef5fccda990cd980 Mon Sep 17 00:00:00 2001 From: Pengfei Date: Sat, 11 Sep 2021 22:27:59 +0800 Subject: [PATCH] Fix trace log --- src/common/logging/log.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common/logging/log.h b/src/common/logging/log.h index 47691b6..448b3fa 100644 --- a/src/common/logging/log.h +++ b/src/common/logging/log.h @@ -42,8 +42,7 @@ std::string GetLastErrors(); #ifdef _DEBUG #define LOG_TRACE(log_class, ...) \ - LOG_PRINT(#log_class, Trace, fmt::fg(fmt::terminal_color::bright_black), __FILE__, __LINE__, \ - __func__, __VA_ARGS__) + LOG_PRINT(#log_class, Trace, fmt::fg(fmt::terminal_color::bright_black), __VA_ARGS__) #else #define LOG_TRACE(log_class, fmt, ...) (void(0)) #endif