在事件查看器、应用程序和服务日志中,如何使用 c#4 .NET 4 vs2010 创建子文件夹
抱歉,我无法通过 Google 和 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”是由像您这样的开发人员创建的项目。示例:创建应用程序并事件查看器的“应用程序和服务日志”部分中的事件日志
如果展开“Microsoft”文件夹,它会包含一个包含其他子文件夹的“Windows”子文件夹。
问题:如何创建子文件夹和子子文件夹以便嵌套事件日志?我使用 c#4、.NET 4 和 vs2010。 例如:
-Applications and Services Logs
+customers
-vendors
-vehicles
FordEventLog
HondaEventLog
et cetera
谢谢。
sorry, i can not find this here at so, via Google, and by searching MSDN.
eventvwr opens with a folder tree at the left that looks something like this:
+Custom Views
+Windows Logs
+Applications and Services Logs
et cetera
expanding Applications and Services Logs, i see:
-Applications and Services Logs
Active Directory Web Services
et cetera
+Microsoft
MyNewLog
et cetera
Please note that "MyNewLog" is an item created by a developer like you. Example: Creating an application and event logs in the "applications and services logs" section of the event viewer
if you expand the "Microsoft" folder, it has a "Windows" sub-folder that contains additional sub-folders.
QUESTION: how to I create sub-folders and sub-sub-folders so that I can nest my event logs? i use c#4, .NET 4, and vs2010.
example:
-Applications and Services Logs
+customers
-vendors
-vehicles
FordEventLog
HondaEventLog
et cetera
thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论