Selaa lähdekoodia

* fixed bug in formatting of the 'line' property

master
bergmann 6 vuotta sitten
vanhempi
commit
b9a9392f03
1 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. +4
    -4
      src/cpplogging/manager/consumer/formatting.cpp

+ 4
- 4
src/cpplogging/manager/consumer/formatting.cpp Näytä tiedosto

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




Ladataan…
Peruuta
Tallenna