Skip to Content
Former Member
Mar 31, 2004 at 06:03 PM

Is the ILogger Thread Safe?


Is the ILogger that is returned by the <i>getLogger()</i> and <i>getClassLogger(</i>) methods of the <b>IPortalComponentRequest</b> object thread safe?

I would like to store a reference to the ILogger as an instance variable in my iView class (extends <b>AbstractPortalComponent</b>) so that I can have access to the logger anywhere in my code, even when the <b>IPortalComponentRequest</b> object is not available. But of course, how I access the ILogger instance variable will be effected as to whether or not the ILogger implementation is thread safe...