You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Dominik Psenner (JIRA)" <ji...@apache.org> on 2013/08/07 14:14:50 UTC
[jira] [Comment Edited] (LOG4NET-371) Log with formatting doesn't
call custom renderers (IObjectRenderer)
[ https://issues.apache.org/jira/browse/LOG4NET-371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13731906#comment-13731906 ]
Dominik Psenner edited comment on LOG4NET-371 at 8/7/13 12:14 PM:
------------------------------------------------------------------
Reopening to mark it as fixed in 1.2.12
was (Author: nachbarslumpi):
Reopening to mark it as fixed in 1.2.11
> Log with formatting doesn't call custom renderers (IObjectRenderer)
> -------------------------------------------------------------------
>
> Key: LOG4NET-371
> URL: https://issues.apache.org/jira/browse/LOG4NET-371
> Project: Log4net
> Issue Type: Task
> Components: Documentation
> Affects Versions: 1.2.11
> Reporter: Carlin Scott
> Assignee: Dominik Psenner
> Priority: Trivial
> Labels: renderer
> Fix For: 1.2.12
>
>
> If I log an object using ILog.Info(myObject), myObjectRenderer is used. If I use ILog.InfoFormat("my object is: {0}", myObject) then the default renderer is used.
> I spent hours trying to figure out why the default renderer was being used and then on a whim I used the non-formatted log method and everything worked correctly. At the very least I would like the documentation for this feature to specify that only the non-formatted logging methods make use of custom renderers.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira