Vote count:
0
I tried to search this question on internet, however couldn't find the answer. Please excuse and point me if the question is duplicate.
Many times, I have been told that Logger uses Singleton as well as Factory pattern (i.e. when we are passing different debug level - ERROR, DEBUG... etc then getLogger() will return different objects)
I need more explanation, how Singleton and Factory pattern both are internally implemented with logger.
Please help.
/Saurabh
asked 34 secs ago
Design pattern used in logging framework
Aucun commentaire:
Enregistrer un commentaire