使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
cpp
/
cpplogging
关注
1
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
0
百科
动态
浏览代码
* fixed bug in formatting of the 'line' property
master
bergmann
6 年前
父节点
8bbb7206ba
当前提交
b9a9392f03
共有
1 个文件被更改
,包括
4 次插入
和
4 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+4
-4
src/cpplogging/manager/consumer/formatting.cpp
+ 4
- 4
src/cpplogging/manager/consumer/formatting.cpp
查看文件
@@ -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;
撰写
预览
正在加载...
取消
保存