Ver a proveniência

* fixed bug in formatting of the 'line' property

master
bergmann há 6 anos
ascendente
cometimento
b9a9392f03
1 ficheiros alterados com 4 adições e 4 eliminações
  1. +4
    -4
      src/cpplogging/manager/consumer/formatting.cpp

+ 4
- 4
src/cpplogging/manager/consumer/formatting.cpp Ver ficheiro

@@ -633,21 +633,21 @@ void consumer::write_formatted(const log_entry& e, const format_type& f, std::os
has_line_end = false;
switch (i.format)
{
case value_format::decimal:
os << e.line;
break;
case value_format::hex_lower:
os << std::hex
<< e.line
<< std::dec;
break;
default:
case value_format::hex_upper:
os << std::hex
<< std::uppercase
<< e.line
<< std::nouppercase
<< std::dec;
break;
default:
os << e.line;
break;
}
break;



Carregando…
Cancelar
Guardar