From 0c425c82d34ab1f719628b33c09aa5496b93fc88 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 13 Jul 2018 17:51:21 +0300 Subject: [PATCH] Be consistent, no space before the '|' in LOG_BODY() Change-Id: Iecab73efcb19562c5a7ebee506f13668b1a827c3 --- common/Log.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/Log.hpp b/common/Log.hpp index bfd1da8bd..1a4f69cdd 100644 --- a/common/Log.hpp +++ b/common/Log.hpp @@ -226,7 +226,7 @@ namespace Log #define LOG_FTL(X) do { auto& l_ = Log::logger(); if (l_.fatal()) { LOG_BODY_(FATAL, "FTL", X); } } while (false) #define LOG_SFL(X) do { auto& l_ = Log::logger(); if (l_.error()) { LOG_BODY_(FATAL, "FTL", X << " (" << Util::symbolicErrno(errno) << ": " << std::strerror(errno) << ")"); } } while (false) -#define LOG_END(l) do { l << " | " << __FILE__ << ':' << __LINE__; l.flush(); } while (false) +#define LOG_END(l) do { l << "| " << __FILE__ << ':' << __LINE__; l.flush(); } while (false) #define LOG_CHECK(X) do { if (!(X)) { LOG_ERR("Check failed. Expected (" #X ")."); } } while (false) #define LOG_CHECK_RET(X, RET) do { if (!(X)) { LOG_ERR("Check failed. Expected (" #X ")."); return RET; } } while (false)