logging-log4net-dev mailing list archives

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

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

NN commented on LOG4NET-482:
----------------------------

 I see .
What about putting it in extension methods class?
Can it be applied if I change patch so?

> 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.3.0
>            Reporter: NN
>         Attachments: LOG4NET-482.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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