/// <summary> /// Get Logger instance with the class full name /// </summary> /// <returns></returns> /// <example> /// Type type = MethodBase.GetCurrentMethod().DeclaringType; /// /// Logger logger= Logger.GetInstance(type); /// /// // Output class full name in log /// logger.Info("Info"); /// </example> public static ARLogger GetInstance(Type type) { ARLogger logger = new ARLogger(); logger.mLog4NetLog = LogManager.GetLogger(type); return(logger); }