开发者

Create Custom Log in Event Viewer with C++

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++

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜