commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <ebo...@apache.org>
Subject Re: [logging] JCL2.0 design - API
Date Thu, 02 Mar 2006 09:20:40 GMT
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


Mime
View raw message