Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 30017 invoked from network); 2 Mar 2006 09:20:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Mar 2006 09:20:20 -0000 Received: (qmail 19780 invoked by uid 500); 2 Mar 2006 09:21:05 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 19754 invoked by uid 500); 2 Mar 2006 09:21:05 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 19743 invoked by uid 99); 2 Mar 2006 09:21:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Mar 2006 01:21:05 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [80.65.237.46] (HELO musset.eptica.com) (80.65.237.46) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Mar 2006 01:21:04 -0800 Received: from [10.1.0.132] (unknown [80.65.237.41]) by musset.eptica.com (Postfix) with ESMTP id 7D4907D1E for ; Thu, 2 Mar 2006 10:20:27 +0100 (CET) Message-ID: <4406B8E8.3030605@apache.org> Date: Thu, 02 Mar 2006 10:20:40 +0100 From: Emmanuel Bourg User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Jakarta Commons Developers List Subject: Re: [logging] JCL2.0 design - API References: <1140391781.3813.150.camel@localhost.localdomain> <43F98DD7.6050104@gmx.net> <44057514.4040209@apache.org> <4405D862.7000008@apache.org> <1141240299.3812.12.camel@localhost.localdomain> In-Reply-To: <1141240299.3812.12.camel@localhost.localdomain> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Simon Kitching wrote: > Fascinating! I haven't seen that trick before. An interface containing a > static method (via a little indirection)...cool. > > Are you serious about this proposed API for the Log class, though? > > I'm hoping that people will agree that the current Log API is ok (even > if it isn't 100% perfect), as that makes 2.x more backwards-compatible. > However if a change is made, I think it would make more sense to move to > the j.u.l/log4j solution (Log is abstract class) rather than invent yet > another design. However if you think > Log.Factory.getLog("foo") > really should be considered then we can start debating pros/cons. I just wanted to mention this solution if Log had to remain an interface, but I won't support it. I prefer to turn Log into an abstract class. Emmanuel Bourg --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org