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 Mon, 26 Oct 2015 05:05:27 GMT

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

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

With the correct conditional compilation symbols, maybe.  It depends on whether others (who
likely don't follow this discussion in JIRA) agree the feature is desirable.

> 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