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] [Created] (LOG4NET-482) ILog Format methods with exception
Date Sun, 25 Oct 2015 08:53:27 GMT
NN created LOG4NET-482:
--------------------------

             Summary: 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