Be consistent, no space before the '|' in LOG_BODY()

Change-Id: Iecab73efcb19562c5a7ebee506f13668b1a827c3
This commit is contained in:
Tor Lillqvist 2018-07-13 17:51:21 +03:00
parent b4192de6fa
commit 0c425c82d3

View file

@ -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)