I have a console app and I am trying to implement log4Net for it.
I did the following steps -
- added log4Net reference
Created Log4Net.config -
Created the LogHelper.cs class -
Added the following to the AssemblyInfo.cs [assembly: log4net.Config.XmlConfigurator(ConfigFile = "Log4net.config", Watch = true)]
But the logging doesnt seem to work? Can someone suggest what needs to be done for the logging to work in th console app?