I want to be able to create a custom log in event viewer (i.e. to create a custom node under "Application and Services Logs" in windows event viewer)
It is an easy task, if you u开发者_运维技巧se EventLog.CreateEventSource method: LINK Its problem is that this method is only available from in the unmanaged code.
I'm wondering if there is any way I can do this in my Managed C++ code.
I'm currently using manifest-based ETW for logging. Is there anywhere in the manifest of the provider that I can set it?
Cheers, Reza++
精彩评论