Re: Revised API Proposal

2001-09-06 Thread Ceki Gulcu
Nicholas, As you are probably aware, the recently checked in code follows your proposal even if hours of previous work had to be thrown out to get there. Your scheme is less intuitive then my initial proposal where Category extends Logger Category. However, it has the distinct advantage of ful

Re: Revised API Proposal

2001-09-03 Thread nicholas wolff
Objective - Gradually remove the Category class in favor of Logger: a) starting today, it should be possible to use log4j without ever seeing a reference to category (be it the class Category or any method or exception containing the word "category"). An added feature would be that a ne

Re: Revised API Proposal

2001-09-03 Thread Endre Stølsvik
This one!! : | Attempt III -- | | public class Logger { | | | /** | @deprecated Category class is deprecated. | Please use the {link #getLogger} instead If you are maintaining code for a older pr

Re: Revised API Proposal

2001-09-02 Thread Ceki Gülcü
Endre, Jim, Chris, Paul and others, Logger is becoming a more widely recognized label. It is also probably more intuitive. I won't argue about that. If it were possible/easy to keep backward compatibility with existing log4j client code and at the same time rename Category to Logger I would to

Re: Revised API Proposal

2001-09-01 Thread Christopher Taylor
Just thought I had to get that in there... ;) -Chris - Original Message - From: "Jason Dillon" <[EMAIL PROTECTED]> To: "LOG4J Developers Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, September 02, 2001 11:33 AM Subject: Re: Revised API Proposal >

RE: Revised API Proposal

2001-09-01 Thread Jeroen C. van Gelderen
ins the best solution to my logging requirements. Cheers, Jeroen -- Jeroen C. van Gelderen -- [EMAIL PROTECTED] -Original Message- From: Christopher Taylor [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 01, 2001 22:20 To: LOG4J Developers Mailing List Subject: Re: Revised API P

Re: Revised API Proposal

2001-09-01 Thread Jason Dillon
> P.S. Logger could also be someone who harvests trees. Touche Those poor, poor trees. --jason - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Revised API Proposal

2001-09-01 Thread Christopher Taylor
w docs for Log4J, I understood immediately the Category, Appender, and Layout concepts). - Original Message - From: "Jason Dillon" <[EMAIL PROTECTED]> To: "LOG4J Developers Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, September 02, 2001 10:37 AM Subject: Re: Revi

Re: Revised API Proposal

2001-09-01 Thread Jason Dillon
> The problem I have with calling it a Logger is that it hides the concept of > Categories from the developer. Isn't that what documentation is for? I personally think that Logger is better than Category. Logger shows that the object is used for logging messages, where Category could be an obje

Re: Revised API Proposal

2001-09-01 Thread Christopher Taylor
makes very good sense. -Chris - Original Message - From: "Jim Moore" <[EMAIL PROTECTED]> To: "'LOG4J Developers Mailing List'" <[EMAIL PROTECTED]> Sent: Saturday, September 01, 2001 9:18 PM Subject: RE: Revised API Proposal I would have to str

RE: Revised API Proposal

2001-09-01 Thread Paul Glezen
I agree with what Jim said about "Logger" being far more intuitive than "Category". But ... I do have a soft spot for the term for the following reason. When I first took a look at log4j, I looked in the package for a class called "Logger" and, of course, didn't find one. When I found out the

RE: Revised API Proposal

2001-09-01 Thread Jim Moore
ckage, but why should you have to do that translation? Logger, Level, and LogManager fit much more closely to people's way of thinking about logging. -Jim Moore -Original Message----- From: Christopher Taylor [mailto:[EMAIL PROTECTED]] Sent: Friday, August 31, 2001 8:54 AM To: LOG4J Develop

Re: Revised API Proposal

2001-09-01 Thread Endre Stølsvik
On Fri, 31 Aug 2001, Ceki Gülcü wrote: | >*You* changed the whole package name from org.log4j to org.apahce.log4j | >without lifting a eyebrow. But doing this Category->Logger move which is | >such a much more intuitive change you wont do.. Hmm.. | | Is this a provocation? Wishing you a good week

Re: Revised API Proposal

2001-08-31 Thread Ceki Gülcü
At 08:51 31.08.2001 +0200, Endre Stølsvik wrote: >On Fri, 31 Aug 2001, Ceki Gülcü wrote: > >| >| Hello all, >| >| I just wanted to inform you that it is plain impossible to retain >| backward compatibility with existing log4j (user) code and get away >| with renaming Category as Logger. I just thr

Re: Revised API Proposal

2001-08-31 Thread Christopher Taylor
PROTECTED]> Sent: Friday, August 31, 2001 3:51 PM Subject: Re: Revised API Proposal > On Fri, 31 Aug 2001, Ceki Gülcü wrote: > > | > | Hello all, > | > | I just wanted to inform you that it is plain impossible to retain > | backward compatibility with existing log4j (user)

Re: Revised API Proposal

2001-08-30 Thread Endre Stølsvik
On Fri, 31 Aug 2001, Ceki Gülcü wrote: | | Hello all, | | I just wanted to inform you that it is plain impossible to retain | backward compatibility with existing log4j (user) code and get away | with renaming Category as Logger. I just threw away hours of work to | retain backward compatibility.

Re: Revised API Proposal

2001-08-30 Thread Yannick Menager
Why not create a new logger class, and keep the the old category (deprecated and changed to call Logger's functions) for backward compatibility --- Ceki Gülcü <[EMAIL PROTECTED]> wrote: > > Hello all, > > I just wanted to inform you that it is plain > impossible to retain backward compatibilit