Search code examples
c#.netevent-log

Windows Event Log Concerns?


I am currently on a team that is upgrading an older application to C# 4.0. One of the items being upgraded is the error logging aspect of the app. Upon suggesting that we use the Windows Event Log for this purpose, a few on the team stated that Microsoft "changes the interface to the event log with each release."

I have not been able to confirm this. Does anyone know of problems creating .Net applications that require writing to the Event Log? It doesn't make sense to me that this functionality would be offered only to be rendered inoperable on the next release of Windows.


Solution

  • That's utter nonsense. The System.Diagnostics.EventLog component has been stable since .NET 1.0.