public static void EnableLogging(Type callingType) { IApplicationLog log = ApplicationLog.GetLogger(log4net.LogManager.GetLogger(callingType), null); if (log.IsInfoEnabled) { log.Info("Started Logging"); } }