Just wondering if I am doing this right:
I declare Log4Net object:
private static readonly log4net.ILog _log = log4net.LogManager.GetLogger
(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
And then in methods in whole class when log I just use:
_log.Debug("passing...");
Is this ok or I should declare and use Log4Net object inside methods (instatiate _log in every method)?