Skip to content
Snippets Groups Projects
  • Florian Fischer's avatar
    28028fac
    [Debug] s/WDBG/DBG and always terminate a log messager with a new line · 28028fac
    Florian Fischer authored
    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.
    28028fac
    History
    [Debug] s/WDBG/DBG and always terminate a log messager with a new line
    Florian Fischer authored
    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.