cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: log performance penalties
Date Sun, 18 Feb 2001 15:33:31 GMT
Tagunov Anthony wrote:
> 
> Hello, evrybody!
> 
> On Thu, 15 Feb 2001 15:49:24 +0100, Stefano Mazzocchi wrote:
> 
> >I'm looking at the changes made to Cocoon while I was away:
> >
> >are you guys aware of the fact that something like
> >
> >  getLogger().debug("Making URL from " + location);
> 
> Maybe doing something like getLogger().debug("Making URL from",location)
> would make things easier?

Hmmm, what if you want to log something like

 "this " + code + " has been " + action + " at time " + time

???

> I'm speaking about implementing things like debub(String), debug(String,String), debug(String,String,String)?
> That's what i do for my applications (non-cocoon)

It's in these situations I wished java was aspect oriented :(

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------

Mime
View raw message