Yesterday i implement Log4Net in my application.
To use it i need to write
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
log4net.Config.XmlConfigurator.Configure();
log.Debug("My function called");
Problem:
I need to log every function of my project.
Whether there is some setting that i can use to log all function calls without need to right log.Debug() always as i need to track only function name and don't need any message.
Any help is appreciated