dev@glassfish.java.net

Re: LogHelper

From: Sahoo <Sahoo_at_Sun.COM>
Date: Tue, 23 Jun 2009 11:03:28 +0530

Bill Shannon wrote:
>
> Anyone know why this class is creating an anonymous logger, which it then
> shares with anyone who asks?
I only refactored the methods out of Utils class to a separate class
called LogHelper as part of revision #756 [1]. I don't know why the code
was written that way in Utils.class. We should create a logger in HK2
namespace.
> And why does code *outside* of hk2 use this
> helper class rather than creating a Logger of their own?
Nobody outside HK2 should use this class.

Thanks,
Sahoo

[1]
https://hk2.dev.java.net/source/browse/hk2/trunk/hk2/core/src/java/com/sun/enterprise/module/impl/Utils.java?rev=756&r1=756&r2=755