NN created LOG4NET-478:
--------------------------

             Summary: TPL for .NET 3.5
                 Key: LOG4NET-478
                 URL: https://issues.apache.org/jira/browse/LOG4NET-478
             Project: Log4net
          Issue Type: Improvement
          Components: Appenders
    Affects Versions: 1.3.0
            Reporter: NN


AsyncAppender has the following code:
#if FRAMEWORK_4_0_OR_ABOVE
            logTask = new Task(() => { });
            logTask.Start();
#endif

Instead of checking framework version it is better to check another macro like 
HAS_TPL.

There is a TPL support for .NET 3.5 through unofficial System.Threading ( 
https://www.nuget.org/packages/System.Threading.dll/ )



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

Reply via email to