News for hackers. Stuff that matters.
Re:Logging as a code smell by rukuu001 on Tuesday January 11, 2022 @12:50AM (#29888059)
The real code smell here is importing a third-party library into all of your application classes.

Wrap it in a class of your own so the logger (or whatever) can be easily swapped out if you want to use a different logging system, events, or whatever.

There are no comments on this comment yet.