You Don't Need Logging Code
This an opinion I've held for some years now. The title is a little disingenuous. What I actually mean is that business classes should not be concerned with what they need to log. Take this example.
Software Engineer
The Decorator Pattern is a design pattern that allows behviour to be attached to an object without affecting its existing behaviour. It allows concerns to be separated by having one object wrap around another.
This an opinion I've held for some years now. The title is a little disingenuous. What I actually mean is that business classes should not be concerned with what they need to log. Take this example.