Click here to Skip to main content
12,444,371 members (50,774 online)
Click here to Skip to main content

Stats

39.5K views
1.1K downloads
50 bookmarked
Posted

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

, 9 May 2010 CPOL
Log the entrance and exit of all methods in a project with minimal code clutter
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

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160811.3 | Last Updated 9 May 2010
Article Copyright 2010 by Robert Corvus
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid