1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 NLog 4.0 发布 下载

Discussion in '软件资讯' started by 漂亮的石头, 2015-06-13.

  1. 漂亮的石头

    漂亮的石头 版主 Staff Member

    Joined:
    2012-02-10
    Messages:
    487,295
    Likes Received:
    47
    NLog 4.0 发布,此版本解决了超过 100 个 issues,现已提供在 NuGet

    新特性


    • Zipped file archives (.Net 4.5 and higher)


    • Consistent logging of exceptions (breaking change)


    • Conditional logging


    • Auto load extensions


    • AllEventProperties layout renderer


    • Writing to JSON


    • Improved loggingRule final behavior (breaking change)


    • Added Eventlog.EntryType
    Bug 修复


    • The default value of DatabaseTarget.CommandType could lead to exceptions


    • If the XML was broken (invalid), auto reload would be disabled - the application needed a restart before reading the changed configuration.


    • The Logmanager.GetCurrentClassLogger was not thread-safe and with many concurrent calls it would throw an exception.


    • Various fixes to the archiving of files.


    • Bugfix: WebserviceTarget wrote encoded UTF-8 preamble.
    重要改进


    • LoggingRule.Final behaviour has been changed.


    • The methods of logging exception data has been changed.


    • The webservice target won’t write a BOM with UTF-8 (default, can be set)


    • All properties that have been changed to accept layout renderers.

    更多改进请看发行说明
    NLog 4.0 发布下载地址
     
Loading...