在事件查看器,应用程序和服务日志中,如何使用c#4 .NET 4 vs2010创建子文件夹

时间:2011-08-18 15:51:05

标签: visual-studio-2010 events c#-4.0 .net-4.0 event-handling

抱歉,我在这里,谷歌和搜索MSDN都找不到这个。

eventvwr打开,左侧是一个文件夹树,如下所示:

+Custom Views  
+Windows Logs  
+Applications and Services Logs  
    et cetera

扩展应用程序和服务日志,我看到了:

-Applications and Services Logs  
   Active Directory Web Services  
     et cetera  
  +Microsoft  
   MyNewLog  
     et cetera  

请注意,“MyNewLog”是由您这样的开发者创建的项目。示例:Creating an application and event logs in the "applications and services logs" section of the event viewer

如果展开“Microsoft”文件夹,它会有一个“Windows”子文件夹,其中包含其他子文件夹。

问题:如何创建子文件夹和子子文件夹以便我可以嵌套我的事件日志?我使用c#4,.NET 4和vs2010。 例如:

-Applications and Services Logs  
   +customers  
   -vendors  
     -vehicles  
        FordEventLog  
        HondaEventLog  
  et cetera  
谢谢。

0 个答案:

没有答案
相关问题