NLog v4.6.3 Release Notes

Release Date: 2019-04-30 // almost 5 years ago
  • ๐Ÿ›  Bugfixes

    • ๐Ÿ›  #3345 Fixed potential memory issue and message duplication with large strings (@snakefoot)
    • #3316 TargetWithContext - serialize MDC and MDLC values properly (@304NotModified)

    ๐Ÿ”‹ Features

    • #3298 Added WithProperty and SetProperty on Logger (@snakefoot)
    • #3329 ${EventProperties} - Added ObjectPath for rendering nested property (@snakefoot, @304NotModified)
    • ๐Ÿ‘ #3337 ${ShortDate} added support for IRawValue + IStringValueRenderer (@snakefoot)
    • #3328 Added truncate ambient property, e.g. ${message:truncate=80} (@snakefoot)
    • 0๏ธโƒฃ #3278 ConsoleTarget & ColoredConsoleTarget - Added AutoFlush and improve default flush behavior (@snakefoot)

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ #3322 FileTarget - Introduced EnableFileDeleteSimpleMonitor without FileSystemWatcher for non-Windows (@snakefoot)
    • #3332 LogFactory - GetLogger should validate name of logger (@snakefoot)
    • ๐Ÿ #3320 FallbackGroupTarget - Fixed potential issue with WINDOWS_PHONE (@snakefoot)
    • #3261 NLog config file loading: use process name (e.g. applicationname.exe.nlog) when app.config is not available (@snakefoot)

    ๐ŸŽ Performance

    • #3311 Split string - avoid allocation of object array. Added StringHelpers.SplitAndTrimTokens (@snakefoot)
    • #3305 AppSettingLayoutRenderer - Mark as ThreadSafe and ThreadAgnostic (@snakefoot)

    Misc