You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by "Florian Semm (Commented) (JIRA)" <ji...@apache.org> on 2012/03/10 20:16:57 UTC

[jira] [Commented] (LOG4PHP-141) Allow setting of a default Renderer for all Classes

    [ https://issues.apache.org/jira/browse/LOG4PHP-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226930#comment-13226930 ] 

Florian Semm commented on LOG4PHP-141:
--------------------------------------

i have add an extra option to the renderer:

'renderers' => array(
 	array('defaultObjectRenderer' => 'CustomObjectRenderer')
 ),

if there are other options like 'renderedClass' or 'renderingClass', there will be rejected.
                
> Allow setting of a default Renderer for all Classes
> ---------------------------------------------------
>
>                 Key: LOG4PHP-141
>                 URL: https://issues.apache.org/jira/browse/LOG4PHP-141
>             Project: Log4php
>          Issue Type: Improvement
>          Components: Code
>    Affects Versions: 2.0.0
>            Reporter: igor nadj
>         Attachments: LOG4PHP-141.patch, log4php-21-02-2012.patch
>
>
> In log4j you can set a default renderer for all Classes by configuring a Renderer for the Object class, as all Classes extend Object. But PHP does not have a base class like Java, and it would be nice to have a way to replicate this behaviour.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira