- 方法代码是:
- public void Configure(IApplicationBuilder app,IHostingEnvironment env,ILoggerFactory loggerFactory)
- {
- loggerFactory.AddConsole(Configuration.GetSetion(“logging”));
- loggerFactory.AddDebug();
- app.UseDeveloperExceptionPage();
- app.UseMvc();
- app.UseStaticFiles();
- }
请发表评论