摘要
事件日志作为一种重要的系统管理工具,主要用于监视系统运行情况、查找系统故障根源和分析软件的执行流程等。对软件开发者而言,有必要从编程角度分析Windows7系统的事件日志架构体系。简要介绍NET Framework一个重要的事件日志类EventLog,以及使用EventLog类和C++/CLI语言实现事件日志创建、写入和删除的编程方法。
As an important tool for system management,Event Log is mainly used to monitor the operation of the system,find the cause of system failures,and analyse the excuting process of software. For software developer,it is necessary to analyse the Event Log architecture of Windows7 from the programming point of view.EventLog,an important class of Event Log in NET Framework,is briefly introduced,and the programming methods which are used to create,write and delete Event Log with class EventLog and C ++/CLI language,are demonstrated as well.
出处
《微处理机》
2014年第4期68-70,73,共4页
Microprocessors