Home
last modified time | relevance | path

Searched hist:dce4d230c52978fc258ee3bc31117389d9c25388 (Results 1 – 1 of 1) sorted by relevance

/openbmc/bmcweb/http/
H A Dlogging.hppdiff dce4d230c52978fc258ee3bc31117389d9c25388 Wed Apr 03 12:52:39 CDT 2024 Ed Tanous <ed@tanous.net> Make flush explicit

A more in depth explanation of this is here[1], but being explicit
flushing the buffer (using std::flush) captures intent better here,
which we intend a newline, then a flush. Keeping those as separate
captures the intended behavior.

Tested: Launching bmcweb shows logging statements still function.

[1] https://clang.llvm.org/extra/clang-tidy/checks/performance/avoid-endl.html

Change-Id: I6aa427f4e4134ce30ce552cbfdd5d7be3df56c47
Signed-off-by: Ed Tanous <ed@tanous.net>