Hi Karsten,

The overhead for non-static (instance) loggers variables should be negligible unless many, say 10000 or more, instantiations occur. This question is also discussed in the SLF4J FAQ [1].

HTH,

--
Ceki
http://twitter.com/#!/ceki

[1] http://www.slf4j.org/faq.html#declared_static

On 04.05.2012 22:29, Karsten Wutzke wrote:
Hello all,

I've recently posted this on SO, but with "limited" success:

http://stackoverflow.com/questions/10345109/whats-the-overhead-of-creating-a-slf4j-loggers-in-static-vs-non-static-context

I'd be glad if anyone could help on this. If possible, it would be nice
to see an answer on SO, but here would be OK, too.

Thanks
Karsten

_______________________________________________
slf4j-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/slf4j-user

Reply via email to