On Mon, 4 Mar 2002 23:07, Adam Murdoch wrote: > > -----Original Message----- > > From: Peter Donald [mailto:[EMAIL PROTECTED] > > 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. -- Cheers, Pete ----------------------------------------------------------- "Remember, your body is a temple; however, it's also your dancehall and bowling alley" -- Dharma Montgomery ----------------------------------------------------------- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
