On 02.03.2013 15:10, Niels Braczek wrote:
> Am 02.03.2013 09:12, schrieb Andrew Eddie:
>
>> We have some really nice things in our Log like being able to listen
>> to
>> different types of categories and log to different places. But, we'd
>> loose
>> our "category" if we go PSR-3. On the other hand, PSR-3 probably
>> treats the
>> message and variable injection more cleanly.
>
> PSR-3 does not force anyone to drop functionality: "Every method
> accepts
> an array as context data. This is meant to hold any extraneous
> information that does not fit well in a string. The array can contain
> anything."
This is correct, PSR-3 is constructed in such a way that it allows you
to
provide additional meta-data specific to your application's need.
> As a PHP-FIG voting member project, Joomla is supposed to follow the
> standards.
Please allow me to rephrase that: Joomla is encouraged to follow the
recommendations.
Every PHP-FIG member project is allowed to ignore a recommendation if
they desire so, although it is appreciated, encouraged and in cases of
PSR-0, PSR-1 and PSR-3 perhaps even desirable to follow them.
My apologies for being pedantic here, the nuance matters to me.