Why do most log4net examples get the logger for a class by doing this:
private static ILog logger = LogManager.GetLogger( System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
Rather than just passing typeof(MyClass):
private static ILog logger = LogManager.GetLogger(typeof(MyClass));
Is there any other reason for doing this, beside the fact that the first option does not require you to type a specific class name?