We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
Apache 许可证允许您在您的产品中使用此软件包,即使它是闭源和商业的。请参阅 http://en.wikipedia.org/wiki/Apache_License
或者查看log4cpp 属于 LGPL。
The Apache license allows you to use this package in your product even if it is closed source and commercial. See http://en.wikipedia.org/wiki/Apache_License
Alternatively take a look at log4cpp which is under LGPL.
Log4cplus 是一个不错的选择。
在其生产版本 1.0.4 中,它缺少 AsyncAppender,但它会出现在即将发布的 1.1 版本中(我不知道何时发布)。
我们刚刚从 log4cxx 切换到 log4cplus,因为 log4cxx 依赖于 libapr/libaprutil (不错的 Apache 2 许可证),而在我的 Ubuntu 10.04 上,它又依赖于 libdb4.8.so。如果没有从 Oracle 购买许可证,libdb4.8 的许可证不适合闭源商业应用程序。来自
/usr/share/doc/libdb4.8/copyright
:Log4cplus is a nice alternative.
In its production release 1.0.4 it misses AsyncAppender, but that is present in the coming 1.1 (I don't know when that is released).
We just switched from log4cxx to log4cplus since log4cxx depends on libapr/libaprutil (nice Apache 2 license) which on my Ubuntu 10.04 again depends on libdb4.8.so. The license for libdb4.8 not fit closed source commercial applications without buying a license from Oracle. From
/usr/share/doc/libdb4.8/copyright
: