-
- Downloads
[Debug] s/WDBG/DBG and always terminate a log messager with a new line
Rename the macro used to build up the debug message, to better reflect its generality. It can be used anywhere to build a string with C++ stream formatting. std::string s = EMPER_BUILD_STR("foo = " << 1 " , bar = " << bar(42)); Since WDBG was the only log macro without a terminating newline, which was in fact broken according to flow, we can remove it and the new line handling code in the LOG macro.
Showing
- apps/Main.cpp 3 additions, 3 deletionsapps/Main.cpp
- emper/Debug.cpp 1 addition, 1 deletionemper/Debug.cpp
- emper/Debug.hpp 11 additions, 13 deletionsemper/Debug.hpp
- tests/RuntimeDestroyTest.cpp 3 additions, 3 deletionstests/RuntimeDestroyTest.cpp
- tests/SimpleActorTest.cpp 3 additions, 3 deletionstests/SimpleActorTest.cpp
- tests/SimplestFibTest.cpp 3 additions, 3 deletionstests/SimplestFibTest.cpp
Loading
Please register or sign in to comment