Simple thread-safe non-blocking file logger class in c#

Posted by Jason Renlan on Stack Overflow See other posts from Stack Overflow or by Jason Renlan
Published on 2009-07-15T08:20:53Z Indexed on 2010/06/16 6:02 UTC
Read the original article Hit count: 492

I have a web application, that will log some information to a file. I am looking for a simple thread-safe non-blocking file logger class in c#. I have little experience with threading. I known there are great logging components out there like log4Net, Enterprise Library Logging Block, ELMAH, but I do not want an external dependence for my application. I was thinking about using this queue implementation http://www.codeproject.com/KB/cpp/lockfreeq.aspx

© Stack Overflow or respective owner

Related posts about .NET

Related posts about logging