I ran into the same scenario,  The Catergoy Object is a factory so all
"instances" of Category using the same
foo.class will reference the same instance anyways.   Can you give the inner
class a name?


-----Original Message-----
From: Stephen Levinson [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 17, 2001 3:02 PM
To: 'LOG4J Users Mailing List'
Subject: Categories for Inner Classes


Hi all...

        In setting categories for classes I am using a STATIC instance of
Category ... sending in the class name.

        If I have an inner class I'd like to be able to set a category with
ITS OWN NAME... but I can't use a STATIC in the inner class.

        Is there any way to have the category for an inner class have its
own name?

Thanks in Advance, Stephen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to