File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
AbpCompanyName.AbpProjectName.WebMpa
AbpCompanyName.AbpProjectName.WebSpaAngular Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
1
using System ;
2
- using Abp . Dependency ;
3
2
using Abp . Web ;
4
3
using Castle . Facilities . Logging ;
5
4
@@ -9,7 +8,7 @@ public class MvcApplication : AbpWebApplication
9
8
{
10
9
protected override void Application_Start ( object sender , EventArgs e )
11
10
{
12
- IocManager . Instance . IocContainer . AddFacility < LoggingFacility > ( f => f . UseLog4Net ( ) . WithConfig ( "log4net.config" ) ) ;
11
+ AbpBootstrapper . IocManager . IocContainer . AddFacility < LoggingFacility > ( f => f . UseLog4Net ( ) . WithConfig ( "log4net.config" ) ) ;
13
12
base . Application_Start ( sender , e ) ;
14
13
}
15
14
}
Original file line number Diff line number Diff line change 1
1
using System ;
2
- using Abp . Dependency ;
3
2
using Abp . Web ;
4
3
using Castle . Facilities . Logging ;
5
4
@@ -9,7 +8,7 @@ public class MvcApplication : AbpWebApplication
9
8
{
10
9
protected override void Application_Start ( object sender , EventArgs e )
11
10
{
12
- IocManager . Instance . IocContainer . AddFacility < LoggingFacility > ( f => f . UseLog4Net ( ) . WithConfig ( "log4net.config" ) ) ;
11
+ AbpBootstrapper . IocManager . IocContainer . AddFacility < LoggingFacility > ( f => f . UseLog4Net ( ) . WithConfig ( "log4net.config" ) ) ;
13
12
base . Application_Start ( sender , e ) ;
14
13
}
15
14
}
You can’t perform that action at this time.
0 commit comments