什么是最高效的线程安全C ++记录器? [英] What is the most efficient thread-safe C++ logger?

查看:122
本文介绍了什么是最高效的线程安全C ++记录器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个性能关键的多线程应用程序。我看了rlog,Ace和Boost日志。我选择rlog,因为我读它是最快的(当日志记录被禁用,它有最小的开销)。

I am working on a performance critical multi-threaded application. I looked at rlog, Ace and Boost logging. I chose rlog because I read it was the fastest (when logging is disabled, it has the least overhead).

我有的问题是它显示文件名,行数字等,即使在释放模式。如果你能告诉我如何关闭这些信息,我的问题可能会解决。在任何情况下,对于我的情况,C ++中最高效的记录器是什么?

The problem I have is it shows the file name, line number etc. even in release mode. If you can tell me how to shut that information off, my problem might be solved. In any case what is the most efficient logger in C++ for my situation?

推荐答案

Pantheios 被认为是最好的执行C ++日志记录库,以及声称是唯一一个100%类型安全的(参见本文有关一个相关库解释为什么printf ()/ iostream的库不是类型安全的)

Pantheios is thought to be the best performing C++ logging library, as well as claiming to be the only one that is 100% type-safe (see this article about a related library explaining why printf()/iostream-based libraries are not type-safe)

这篇关于什么是最高效的线程安全C ++记录器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆