title: Create Custom Log in Event Viewer with C++
body: <p>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)</p>
  
  <p>It is an easy task, if you use EventLog.CreateEventSource method: <a href="http://msdn.microsoft.com/en-us/library/2awhba7a.aspx#Y0" rel="nofollow">LINK</a> Its problem is that this method is only available from in the unmanaged code.</p>
  
  <p>I'm wondering if there is any way I can do this in my Managed C++ code. </p>
  
  <p>I'm currently using manifest-based ETW for logging. Is there anywhere in the manifest of the provider that I can set it?</p>
  
  <p>Cheers,
  Reza++</p>