title: Cannot associate Event ID in Event Log using Serilog
body: <p>I am using Serilog as libraries for .NET, which provides diagnostic logging to files, the console, and elsewhere.</p>
  
  <p>My issue is I have stated some Logging Events in my code but when looking into the Windows Event Viewer, the Event ID assigned with my log is not associated in the event viewer. Any ideas about this on how to modify to add the event ID?</p>
  
  <p><strong>Logging Events code</strong></p>
  
  <pre><code>public class LoggingEvents
  {
      //info
      public const int GENERATE_INDEXPAGE = 2000;
      public const int ADMIN_ACCESS = 2001;
      public const int ON_GET_REGISTRATION = 2002;
      public const int ON_GET_APP_BY_KEY = 2003;
      public const int ON_GET_BY_AIR_ID = 2004;
      public const int ON_GET_USERS = 2005;
      public const int ON_GET_GROUPS = 2006;
      public const int ON_POST_APPLICATION = 2007;
  
      //warning
      public const int NO_ADMIN_ACCESS = 3000;
      public const int INVALID_AIR_ID = 3001;
  
      //error
      public const int ERROR_POST_APPLICATION = 4000;
  }
  </code></pre>