コード例 #1
0
        public static void EnableLogging(Type callingType)
        {
            IApplicationLog log = ApplicationLog.GetLogger(log4net.LogManager.GetLogger(callingType), null);

            if (log.IsInfoEnabled)
            {
                log.Info("Started Logging");
            }
        }