I want to use Event Viewer for logging of my application services. I know that i must use EventLog class.Please note that my application has several threads.
So my question is:
I am not sure that EventLog class is thread-safe. How can i write my log entries to Event Viewer from multiple threads. Actually an example or a simple code snippet(that is thread safe) would be great.