ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Murdoch" <adammurdoch...@yahoo.com>
Subject RE: [myrmidon] TaskContext.getLogger() ?
Date Tue, 05 Mar 2002 10:51:22 GMT


> -----Original Message-----
> From: Peter Donald [mailto:peter@apache.org]
> Sent: Tuesday, 5 March 2002 5:08 PM
> To: Ant Developers List
> Subject: Re: [myrmidon] TaskContext.getLogger() ?
> 
> 
> On Mon, 4 Mar 2002 23:07, Adam Murdoch wrote:
> > > -----Original Message-----
> > > From: Peter Donald [mailto:peter@apache.org]
> > > Sent: Monday, 4 March 2002 5:53 PM
> > > To: Ant Developers List
> > > Subject: Re: [myrmidon] TaskContext.getLogger() ?
> > >
> > > On Mon, 4 Mar 2002 18:24, Adam Murdoch wrote:
> > > > Any problems with adding TaskContext.getLogger(), and doing 
> away with
> > > > LogEnabled for tasks?
> > >
> > > Leave it in for now - put it on todo list to readdress in a bit
> >
> > The reason I asked, is that I want to be able to use a logger in the
> > evaluate methods of data types.  Example is <uptodate>, which I want to
> > change from a task to a condition.  It uses a logger, which 
> will no longer
> > be available.  Given that TaskContext is used to deliver to a task,
> > everything about its environment *except* a Logger, it seems 
> reasonable to
> > restructure so that the TaskContext also delivers a Logger.
> >
> > What did you have in mind for this?  Maybe we can do the 'readdress in a
> > bit' sooner?
> 
> What I want to do is basically add the methods into TaskContext 
> directly and 
> throw away AbstractLogEnabled/LogEnabled/Logger etc but I need to 
> convert a 
> bunch of code before I can do that. If you are okay with that i 
> will try to 
> do it tonight.
> 

Sure, sounds like a good plan.


Adam


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message