示例#1
0
        protected void Application_Start()
        {
            VotGES.GlobalVotGES.setCulture();

            Logger logger=new WebLogger();
            Logger.init(Logger.createFileLogger(Server.MapPath("/logs/"), "orders", logger));
            Logger.Info("Старт приложения "+DateTime.Now);
            AreaRegistration.RegisterAllAreas();

            RegisterRoutes(RouteTable.Routes);
        }
示例#2
0
        protected void Application_Start()
        {
            DBSettings.init(Server.MapPath("/bin/Data/DBSettings.xml"));
            VotGES.GlobalVotGES.setCulture();

            Logger logger=new WebLogger();
            Logger.InitFileLogger(Server.MapPath("/logs/"), "orders", new Web.Logging.WebLogger());
            Logger.Info("Старт приложения "+DateTime.Now);
            AreaRegistration.RegisterAllAreas();

            RegisterRoutes(RouteTable.Routes);
        }