Disable logging during issue from Nlog.config

Now I do it like

LogManager.DisableLogging();

      

But to do this, I need to deploy my code again, how to disable loggin from nlog config file.

+3


source to share


1 answer


 <nlog globalThreshold="Off" />

      



+4


source







All Articles