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

Carlin Scott commented on LOG4NET-371:
--------------------------------------

That's technically documentation, not a manual. The 
[manual|http://logging.apache.org/log4net/release/manual/introduction.html] 
makes no mention that the renderers are only used by one of the two logging 
methods. Most people will assume that they are used by both without some 
explicit statement to the contrary.

Should I submit an improvement request since this is apparently only an issue 
with the manual.
                
> 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: Bug
>          Components: Core
>    Affects Versions: 1.2.11
>            Reporter: Carlin Scott
>              Labels: formatted, renderer
>
> 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

Reply via email to