CodeFluent Entities: Automatic Traces Sub-Producer
Since fall, CodeFluent Entities ships an Automatic Trace sub-producer which can be added on top of the Business Object Model producer, and which will add traces to declared properties and methods.
To use it, right-click on your Business Object Model producer and select “Add New SubProducer”:
Keep everything by default and click “OK”:
Generate over again, and taadaa! All your .NET classes now have traces:
Please note that by default generated traces use the System.Diagnostics.Trace.WriteLine method, but this can be customized. For instance you could set the producer to use the System.Diagnostics.Debug.WriteLine or even your own custom method
Isn’t life beautiful?