commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Kitching <skitch...@apache.org>
Subject Re: [jcl] mocks
Date Sun, 11 Dec 2005 06:23:49 GMT
On Sun, 2005-12-11 at 03:19 +0100, Torsten Curdt wrote:
> On 11.12.2005, at 03:14, Simon Kitching wrote:
> 
> > On Sat, 2005-12-10 at 22:42 +0100, Torsten Curdt wrote:
> >> As some projects are not really happy with the JCL
> >> dependency it would be nice to have a simple and
> >> small mock jar ...just to justify the dependency.
> >>
> >> Any objections to add this to the JCL codebase
> >> and build system? ...or should that be hosted
> >> somewhere else?
> >
> > What exactly do you mean by "mock jar", and how does this "justify the
> > dependency"?
> 
> Basically all it holds is the Log interface and
> the LogFactory providing an Log implementation
> that is doing nothing.

The existing jar already provides NoOpLog.jar. Providing a
commons-logging.properties file, or setting the appropriate system
property, ensures that no-op logging is used (the default is SimpleLog
that just writes to stdout).

Regards,

Simon


---------------------------------------------------------------------
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