logging-log4php-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Grobmeier <grobme...@gmail.com>
Subject Re: LoggerReflectionUtils::createObject()
Date Thu, 17 Sep 2009 11:43:03 GMT
Hi Christian,

if there is no chance to extend this by dynamically giving a other
class name, than I don't think there is a good reason for that line.
At first look I don't think there is a reason except history :-)

Best,
Christian

On Wed, Sep 16, 2009 at 1:31 AM, Christian Hammers <ch@lathspell.de> wrote:
> Hi
>
> Where is the benefit of the following:
>  $this->layout = LoggerReflectionUtils::createObject('LoggerLayoutPattern');
>
> It breaks Eclipse autocompletion so I'd be inclined to replace it by a simpler:
>  $this->layout = new LoggerLayoutPattern();
>
> bye,
>
> -christian-
>

Mime
View raw message