EL Logging是否具有Nlog内部日志之类的故障排除工具? [英] does EL Logging have a troubleshooting tool like Nlog internal log?

查看:120
本文介绍了EL Logging是否具有Nlog内部日志之类的故障排除工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

NLog具有内部日志,开发人员可以使用它来解决日志问题. Enterprise Library Logging是否有类似的东西可以用来弄清为什么我的日志消息什么地方都没走?

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?

推荐答案

有一个记录错误和警告"特殊类别.如果日志记录基础结构本身存在问题,它将被记录在那里.您可以将其指向任何跟踪侦听器-默认情况下,它会进入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.

这篇关于EL Logging是否具有Nlog内部日志之类的故障排除工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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