Logger Application Scope

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Logger Application Scope

vishwask
I have an MVC application using NLog. My question is that where should I keep the instance of it ? I don't want to pass it through every class I use it on and also not like an Application variable. I just need a singleton that is available throughout the application how is everybody referencing it ?
Loading...