What is event logging? and how do I write an event

2019-08-02 03:10发布

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.

3条回答
等我变得足够好
2楼-- · 2019-08-02 03:42

As you write to an event log file, if the file is not created then it will be created write to an event log

查看更多
叼着烟拽天下
3楼-- · 2019-08-02 03:52
狗以群分
4楼-- · 2019-08-02 03:55

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

If you don't want to use the Windows event log and log to a text file, etc then take a look at Pantheios.

查看更多
登录 后发表回答