Using Tracing with Less Code USing Conditional Compilation and Worker Functions
Details Related Types
Site:  DotNetJunkies
Original URL:  http://www.dotnetjunkies.com/HowTo/843750C9-78DF-4EE9-86C7-EBE04F599250.dcik
Summary:
I was going to make an article about this, but after deep reflection into the subject matter I decided to just write a how to instead. In this article I'll show you a tip to minimize the code you write when using tracing. If implemented, when you compile you release code you will have absolutly no tracing information what-so-ever included. This is achomplished by using <B>Coditional Compilation</B>. Additionally, I'll demonstrate how by making two <b>Worker Functions</b> you can write less code when writi
System.Diagnostics.ConditionalAttribute
System.EventArgs
System.Object
System.Web.UI.Page
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com