How Thread-Safe is NLog?
Well, I have waited for days before deciding to post this issue, as I was not sure how to state this, resutling into a long detailed post. However, I think it is relevant to ask for the community's help at this point. Basically, I tried to use NLog to configure loggers for hundreds of threads. I thought this would be very straightforward, But I got this exception after few tens of seconds : " InvalidOperationException : Collection was modified; enumeration operation may not execute " Here is the code. //Launches threads that initiate loggers class ThreadManager { //(...) for (int i = 0; i<500;