Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version
Go to top

Automatic Logging with Policy Injection Application Block, Structure Map, and log4net

, 9 May 2010
Log the entrance and exit of all methods in a project with minimal code clutter
LoggingDemoSource.zip
LoggingDemo
LoggingDemo
LoggingDemo.4.5.resharper.user
LoggingDemo.suo
App_Data
Assemblies
log4net.dll
Microsoft.Practices.EnterpriseLibrary.Common.dll
Microsoft.Practices.EnterpriseLibrary.Data.dll
Microsoft.Practices.EnterpriseLibrary.PolicyInjection.dll
Microsoft.Practices.ObjectBuilder2.dll
Microsoft.Practices.Unity.dll
Microsoft.Practices.Unity.Interception.dll
StructureMap.AutoMocking.dll
StructureMap.dll
bin
log4net.dll
LoggingDemo.dll
LoggingDemo.pdb
Microsoft.Practices.EnterpriseLibrary.Common.dll
Microsoft.Practices.EnterpriseLibrary.Data.dll
Microsoft.Practices.EnterpriseLibrary.PolicyInjection.dll
Microsoft.Practices.ObjectBuilder2.dll
Microsoft.Practices.Unity.dll
Microsoft.Practices.Unity.Interception.dll
StructureMap.AutoMocking.dll
StructureMap.dll
BusinessLogic
Content
Controllers
DependencyInjection
Global.asax
LoggingDemo.csproj.user
Logs
MyLog_2010May06_Thursday.log
Models
Properties
Scripts
Views
Account
Home
Shared
_ReSharper.LoggingDemo
CachesImage.bin
ProjectModel
ProjectModel.dat
TodoCache
.version
2
44b4d0fe.dat
WebsiteFileReferences
.version
WordIndex.New
.version
2
44b4d0fe.dat
Xaml
CacheProvider.dat

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Robert Corvus

United States United States
No Biography provided

| Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 9 May 2010
Article Copyright 2010 by Robert Corvus
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid