Hello,
I am writing an application that has to monitor EventLog for SharePoint related entries in particular. I am subscribing to and processing System.Diagnostics.EventLog.EntryWritten event.
The problem is that System.Diagnostics.EventLogEntryType enumeration which defines theLevel column in the EventViewer, doesn't contain "Critical". What I am receiving in theEntryWrittenEventArgs.Entry.EntryType for "Critical" SharePoint events is 0.
Is there any way to get the actual Level, not just zero? This is not SharePoint specific thing in fact, some other applications also use their own levels...
Thanks a lot!