什么是事件记录?以及如何编写事件日志文件? [英] What is event logging? and how do I write an event log file?
本文介绍了什么是事件记录?以及如何编写事件日志文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
什么是事件记录?以及如何为应用程序编写事件日志文件?我想记录该应用程序的所有活动,包括何时使用.dll等,并显示该应用程序的信息.
What is event logging? and how do I write an event log file for an application? I want to log all the activities of the application including when it uses a .dll, etc. and also show information of the application.
推荐答案
CodeProject.com上有一篇不错的文章,该文章应该为您提供了解和使用Windows事件日志所需的信息.
There is a good article on CodeProject.com that should give you the information you need to understand and use the Windows event log.
http://www.codeproject.com/KB/system/xeventlog.aspx
如果您不想使用Windows事件日志并登录到文本文件等,请查看万神殿.
If you don't want to use the Windows event log and log to a text file, etc then take a look at Pantheios.
这篇关于什么是事件记录?以及如何编写事件日志文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文