logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bodewig (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4NET-482) ILog Format methods with exception
Date Sun, 25 Oct 2015 12:11:27 GMT

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

Stefan Bodewig commented on LOG4NET-482:
----------------------------------------

This would be a backwards incompatible change (breaking existing implementations of ILog)
and thus is out of scope for 1.2.x.

> ILog Format methods with exception
> ----------------------------------
>
>                 Key: LOG4NET-482
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-482
>             Project: Log4net
>          Issue Type: Improvement
>    Affects Versions: 1.2.13, 1.2.14, 1.3.0
>            Reporter: NN
>         Attachments: LOG4NET-482.patch
>
>
> I suggest adding **Format methods which receive Exception as a first parameter.
> It will create an ambiguity in call of log.TraceFormat(null, ...) since null is convertible
both to IFormatProvider and Exception but this case is pretty rare.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message