[pLog-svn] r993 - plog/trunk/class/locale

Benjamin Krause ork at orkland.de
Tue Feb 8 13:02:06 GMT 2005


ork at devel.plogworld.net wrote:

> Author: ork
> Date: 2005-02-08 12:41:06 +0000 (Tue, 08 Feb 2005)
> New Revision: 993
> 
> Modified:
>    plog/trunk/class/locale/locale.class.php
> Log:
> added check if str_replace is really needed.. we reduced the number of
> calls for str_replace from 1300 (!) to about 100 .. 
> the other str_replace comes from PatternLayout, i'll take a look there
> too.. 

i'm not sure about the logger.. the format is hardcoded in 
logging.properties.php and i'm not sure what kind of logging the final
will have.
currently we could just save a couple of calls.. not really worth
mentioning .. if you plan to have a reduced logging (e.g. less complex 
log format) in the final, it would be worth adding a few extra lines to 
check if the str_replace is needed or not ..





More information about the pLog-svn mailing list