views:

102

answers:

1

Hi,

I needed to understand the design pattern(s) used in log4j library. Since it provides loggers for various classes, it it a factory ?

Any more inputs/pointers on these is greatly appreciated..

A: 

Which kind of designpattern do you mean? Creational, behavioral or structural?

If you mean creational, I´d agree with the factory-pattern, but when you want to be sure, you could ask Ceki Gülcü ([email protected], [email protected] or through his profile), the designer of log4j, who could and would answer this question.