2 ms·
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) ca
by rukuu001 5y ago
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.