记录现有的WPF和WCF应用程序 [英] Logging an existing WPF and WCF application

查看:51
本文介绍了记录现有的WPF和WCF应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要记录整个应用程序功能,以查看用户如何使用WPF和WCF应用程序中的功能. 有许多WCF服务,其使用情况也需要记录.我正在考虑使用企业日志记录.这是个好主意还是市场上有其他更好的东西了?

I want to log the entire application functions, to see how the user is using the functions in the WPF and WCF application. There are many WCF Services, whose usage also needs to be logged. I am thinking about using Enterprise logging. Is it a good idea or something else has come better in market ?


提交Datta

推荐答案

我不建议在您的每段代码中都广泛实现这一点,因为编写操作会影响整体性能.

I don't suggest to implement this extensively in every piece of your code, because writing operations can affect the overall performance.

我通常更多地依靠错误日志来解决在实施或分析过程中无法预测的使用问题.

I normally rely more on error logs to fix usage issues that were unpredictable during implementation or analysis.

通常,使用功能是由规范预先定义的,并且是预期的功能(用例场景 ).例如,我可以期望在用户以x形式填写了一些信息之后,下一步 可供他/在这里使用,例如打印报告或关闭表格.

Normally, the usage functions are predefined by the specs and they are expected (Use Case scenarios). For example I can expect that after the user filled some info in x form, the next step available for him/here is to print a report or close the form for example.


这篇关于记录现有的WPF和WCF应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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