How NLog auto Load works?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How NLog auto Load works?

Pavan Johi
Please can anyone help me in figuring out how NLog autoLoad feature works?

Please let me know in deatil, like whether it spawns a new thread or something like that.

Thank and Regards
Pavan Joshi
Reply | Threaded
Open this post in threaded view
|

Re: How NLog auto Load works?

Jarek Kowalski
Administrator
It uses FileSystemWatcher class which provides async notifications of file attributes changes wrapped in MultiFileWatcher to provide this for multiple files at one:

See:

http://svn.nlog-project.org/repos/nlog/trunk/NLog/src/NLog/Internal/MultiFileWatcher.cs

Unfortunately it doesn't work on Win98 (is there anyone still using that?)
NLog Blog