EL Logging 有类似 Nlog 内部日志的故障排除工具吗?

发布于 2024-11-15 04:08:39 字数 156 浏览 11 评论 0原文

NLog 有一个内部日志,开发人员可以使用它来解决日志记录问题。企业库日志记录是否有类似的东西,我可以用它来找出为什么我的日志消息没有到达任何地方?

NLog has an internal log that the developer can use to troubleshoot issues with logging. Does Enterprise Library Logging have anything like that that I can use to figure out why my log messages aren't going anywhere?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

雨落星ぅ辰 2024-11-22 04:08:39

有一个“记录错误和警告”特殊类别。如果日志基础设施本身存在问题,则会记录在那里。您可以将其指向任何跟踪侦听器 - 默认情况下它会转到 Windows 事件日志。

当然,如果错误的跟踪侦听器出现问题,事情就会丢失。你只能在这一只上堆放这么多的海龟。

There's a "Logging Errors and Warnings" special category. If there's a problem with the logging infrastructure itself, it'll get logged there. You can point this at any trace listener - by default it goes to the Windows event log.

Of course, if you have a problem with the trace listener for the errors, things get lost. There's only so many turtles you can stack on this one.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文