[slf4j-user] Is it not safe to store the Logger instance into a static field?

Ruimo Uno ruimo.uno at gmail.com
Fri Mar 3 08:30:34 CET 2006


Hi,

Thanks for your great effort to give us these loggig libraries.

The example code shown here http://www.slf4j.org/manual.html stores
the Logger instance into a * non-static field *. Is it still harmful to store
the Logger instance into a static field as well as JCL?

--
Ruimo Uno
(Shisei Hanai)



More information about the slf4j-user mailing list