mardi 25 décembre 2018

Singleton vs static for logger and performance issues

As Some article suggest that, Logger is one of the example of singleton, but what will happen if application is used by more than 100000 users, Will it hit performance issue? Will static solve the purpose here? Or what should I use?

If I need to use other library like Log4Net then whats is best example of Singleton pattern.

Aucun commentaire:

Enregistrer un commentaire