You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "NN (JIRA)" <ji...@apache.org> on 2015/10/25 07:36:27 UTC

[jira] [Created] (LOG4NET-478) TPL for .NET 3.5

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)