在Windows中使用log4cpp入门 [英] getting started with log4cpp in windows

查看:249
本文介绍了在Windows中使用log4cpp入门的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在C ++应用程序中进行日志记录.搜寻了一段时间后,我决定使用log4cpp.

I need to do logging in a C++ application. After googling for a while, I decided to use log4cpp.

  1. 这是一个安全的选择,还是有更好的选择?
  2. 如何开始使用Windows XP,Visual Studio 2005进行安装并将其导入到我的应用程序中?

TIA

推荐答案

我过去使用过Log4cpp,并且可以完成此工作,但是请记住,该项目自2007年以来一直处于非活动状态.还有以下替代方法:

I've used Log4cpp in the past and it does the job, though bear in mind the project has been inactive since 2007. There are also the following alternatives:

  • Apache's log4cxx which is still active.
  • Matthew Wilson's Pantheios library.
  • Log4cplus.

关于入门,文档是否不涵盖此内容?

As for getting started, does the documentation not cover this?

这篇关于在Windows中使用log4cpp入门的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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