Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Using Log4Net to log all the functions called in ASP.NET and C# application
- private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
- log4net.Config.XmlConfigurator.Configure();
- log.Debug("My function called");
Advertisement
Add Comment
Please, Sign In to add comment