存在哪些错误记录 Web 服务或应用程序来记录已处理和未处理的异常?
我知道 ELMAH,但它只记录未处理的错误。我需要记录所有错误(已处理和未处理)的东西。有谁知道有这样的程序或服务可以做到这一点?最好是可以在使用任何语言的任何平台上工作的开源项目,尽管我愿意考虑与 ELMAH 类似的其他项目并记录所有错误(已处理和未处理)。
仅供参考,我也了解 log4net,这将是理想的选择,但我听说它非常复杂,我想要一些易于实现的东西。
提前致谢!
I know about ELMAH, but that only logs unhandled errors. I need something that logs ALL errors (handled and unhandled). Does anyone know of such a program or service which does this? Preferably something open source that can work on any platform using any language, though I'm willing to consider other projects that are similar to ELMAH and log all errors (handled and unhandled).
FYI, I also know about log4net and that would be ideal but I hear it's very complicated and I'd like something that's simple to implement.
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
log4net 并不复杂,并且有大量关于如何使用它的示例。您可能会考虑比 log4net 简单一点的另一个是 nlog。
我建议花几个小时尝试这两个例子。我相信您会发现它们实际上非常容易实施。
log4net isn't that complicated and there are tons of examples of how to use it. another one you might consider which is a bit simpler than log4net is nlog.
i'd suggest spending a few hours trying some examples of both of these. i am sure you'll see that they are actually pretty straight forward to implement.