Ceki Gulcu skrev:
See http://slf4j.org/faq.html#declared_static
The official stance is that there is no official stance. :-)
If I understand the link correctly the primary reason for recommending
"not static" is to allow repository selectors to work with logback?
Do you have benchmark figures already for the overhead of creating a
logger for each object?
Am I right in assuming that the logback mechanism for looking up loggers
is faster than in log4j? There must be a reason for the original
recommandation :)
--
Thorbjørn Ravn Andersen "...plus... Tubular Bells!"
_______________________________________________
dev mailing list
dev@slf4j.org
http://www.slf4j.org/mailman/listinfo/dev