コード例 #1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            ///Connfiguration Log4Net
            log4net.Config.XmlConfigurator.Configure();

            #region Log4Net
            logger.Info("        =============  Started Logging  =============        ");
            logger.Warn("        =============  Started Logging  =============        ");
            logger.Error("        =============  Started Logging  =============        ");
            logger.Fatal("        =============  Started Logging  =============        ");
            #endregion

            base.OnStartup(e);
        }