求个日志类或是LOG4XX日志类DEOM

lhsxsh 2008-09-22 09:43:18
求个性能好、运行稳定的日志类或是LOG4XX日志类DEOM(把程序源代码发到lhsen_99@163.com)本人使用VS2005
...全文
211 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
fengzi_shen 2008-09-30
  • 打赏
  • 举报
回复
非常不好意思,我这里没有log4cxx的库,我看到你问题好像解决了。
lhsxsh 2008-09-22
  • 打赏
  • 举报
回复
错误 1 error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall log4cxx::File::~File(void)" (__imp_??1File@log4cxx@@QAE@XZ),该符号在函数 _main 中被引用 main.obj
错误 2 error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: static void __cdecl log4cxx::PropertyConfigurator::configure(class log4cxx::File const &)" (__imp_?configure@PropertyConfigurator@log4cxx@@SAXABVFile@2@@Z),该符号在函数 _main 中被引用 main.obj
错误 3 error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall log4cxx::File::File(char const *)" (__imp_??0File@log4cxx@@QAE@PBD@Z),该符号在函数 _main 中被引用 main.obj
这是怎么问题?如何解决?
代码如下:
//加载log4cxx的配置文件,这里使用了属性文件
PropertyConfigurator::configure("log4cxx.properties");
ToperRay 2008-09-22
  • 打赏
  • 举报
回复
http://download.csdn.net/source/408048

cxlog
lhsxsh 2008-09-22
  • 打赏
  • 举报
回复
本要已知道怎么调用 log4cxx . 哈哈
在VS2005底下要设置 附加库目录与附加依赖项 下午花了我2个小时 哈哈

15,471

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 进程/线程/DLL
社区管理员
  • 进程/线程/DLL社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧