[
https://issues.apache.org/jira/browse/LOG4PHP-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209197#comment-13209197
]
Florian Semm commented on LOG4PHP-141:
--------------------------------------
i have modified my last solution: you can setup your own costum-object
renderer. it will overwrite the default-object renderer (see last patch).
the setup looks like this:
'renderers' => array(
array('renderedClass' => 'Object', 'renderingClass' =>
'CostumDefaultRenderer')
)
it isn't semantic correct, so i don't like this solution so much. maybe it's
better to create an new attribute like 'defaultObjectRenderer'
> 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
>
>
> 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