Enterprise Library 6.0日志记录禁用/启用动态

编程入门 行业动态 更新时间:2024-10-26 02:34:45
本文介绍了Enterprise Library 6.0日志记录禁用/启用动态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我要求在日志文件和事件查看器中记录消息。但我想如果我调用一个方法然后它应该在日志文件中记录消息,而不是在事件查看器中。并且,如果我调用第二种方法,那么它应该同时在事件查看器中记录消息而不是在日志文件中记录。

I have requirement to log the message in Log file and Event Viewer. But I want if I call one method then it should log the message in Log file not in Event Viewer at that time. And, if I call second method then it should log the message in Event Viewer not in Log file at the same time.

请告知是否有办法使用Enterprise Library 6.0。

Please advise if there is way to do this using Enterprise Library 6.0.

推荐答案

Hi Vikram,

Hi Vikram,

根据您的描述,您的案例与企业库相关,就像许多模式和模式一样。实践可交付成果,与社区网站相关联 - www.codeplex/entlib 。 请发布此问题并使用 获取支持 企业库讨论论坛 。 感谢您的理解。

Based on your description, your case related to the Enterprise Library, like many patterns & practices deliverables, is associated with a community site -www.codeplex/entlib. Please post this issue and get support usingthe Enterprise Library Discussion forum. Thanks for your understanding.

更多推荐

Enterprise Library 6.0日志记录禁用/启用动态

本文发布于:2023-11-07 14:51:33,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1566748.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:动态   日志   Enterprise   Library

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!