From c4f98c1a2e78c7e0aeea7d4fb065ac372b0368b9 Mon Sep 17 00:00:00 2001 From: Daniel Lim Wee Soong Date: Fri, 16 Mar 2018 21:18:45 +0800 Subject: [PATCH] Logging: Fix clang-format --- src/common/logging/log.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/logging/log.h b/src/common/logging/log.h index ba3831ea66..b272a8611c 100644 --- a/src/common/logging/log.h +++ b/src/common/logging/log.h @@ -142,9 +142,9 @@ void LogMessage(Class log_class, Level log_level, const char* filename, unsigned /// Logs a message to the global logger, this time with 100% moar fmtlib template void FmtLogMessage(Class log_class, Level log_level, const char* filename, unsigned int line_num, - const char* function, const char* format, const Args & ... args) { - Entry entry = - CreateEntry(log_class, log_level, filename, line_num, function, fmt::format(format, args...)); + const char* function, const char* format, const Args&... args) { + Entry entry = CreateEntry(log_class, log_level, filename, line_num, function, + fmt::format(format, args...)); LogEntry(entry); } @@ -195,4 +195,4 @@ void FmtLogMessage(Class log_class, Level log_level, const char* filename, unsig __func__, fmt, ##__VA_ARGS__) #define NGLOG_CRITICAL(log_class, fmt, ...) \ ::Log::FmtLogMessage(::Log::Class::log_class, ::Log::Level::Critical, __FILE__, __LINE__, \ -__func__, fmt, ##__VA_ARGS__) + __func__, fmt, ##__VA_ARGS__)