This website works better with JavaScript.
Home
Explore
Help
Sign In
cpp
/
cpplogging
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
* fixed bug in formatting of the 'line' property
master
bergmann
6 years ago
parent
8bbb7206ba
commit
b9a9392f03
1 changed files
with
4 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-4
src/cpplogging/manager/consumer/formatting.cpp
+ 4
- 4
src/cpplogging/manager/consumer/formatting.cpp
View File
@@ -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;
Write
Preview
Loading…
Cancel
Save