All I can say is "wow". I didn't mean to touch off such a controversial topic 
on my first day on the list.


--Kevin

P.S. A longer reply is forthcoming, but work conditions preclude my writing it 
now.

-----Original Message-----
From: Vladimir R. Bossicard [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 19, 2002 2:34 PM
To: [EMAIL PROTECTED]
Subject: Re: LogFactory.getLogger()


> public class AbstractLoggable{
>
>    protected Logger getLogger(){
>    }
>}

and how am I supposed to use this class?  According to the name "Loggable", a
class willing to use a logger should extend the AbstractLoggable class, right?

As a big OO fan, I can see the advantage of this approach, but AFAIK Java only
supports single extension.  Should I work with mock objects in classes that
already extend a base class?

Last question: why should we need this solution when the current one:
- works fine (and nobody cares as long as it works)
- is used by tons of other projects
- is recommended by the Commons-Logging folks

-Vladimir


--
Vladimir R. Bossicard
Apache Xindice - http://xml.apache.org/xindice

Reply via email to