@304NotModified 304NotModified released this Aug 5, 2018

Assets 2

Features

Fixes

  • #2827 FileTarget - Failing to CreateArchiveMutex should not stop logging (@snakefoot)
  • #2830 Auto loading of assemblies was broken in some cases (@snakefoot)

Enhancements

  • #2814 LoggingConfiguration - Improves CheckUnusedTargets to handle target wrappers (@snakefoot)

Performance

@304NotModified 304NotModified released this Jul 19, 2018 · 24 commits to master since this release

Assets 2

Features

  • #2792 OutputDebugStringTarget - Support Xamarin iOS and Android (@snakefoot)
  • #2776 FileTarget - Introduced OpenFileFlushTimeout to help when AutoFlush = false (@snakefoot)

Fixes

  • #2761 ${Callsite} fix class naming when includeNamespace=false and cleanNamesOfAnonymousDelegates=true (@Azatey)
  • #2752 JSON: Fixes issue where char types are not properly escaped (#2752) (@smbecker)

Enhancements

  • #2804 FileTarget - Do not trust Last File Write TimeStamp when AutoFlush=false (@snakefoot)
  • #2763 Throw better error when target name is null (@masters3d)
  • #2788 ${Assembly-version} make GetAssembly protected and virtual (@alexangas)
  • #2756 LongDateLayoutRenderer: Improve comments (@stic)
  • #2749 NLog.WindowsEventLog: Update dependency System.Diagnostics.EventLog to RTM version (@304NotModified)

Performance

  • #2797 Better performance with Activator.CreateInstance (@tangdf)

@304NotModified 304NotModified released this May 29, 2018 · 57 commits to master since this release

Assets 2

Fixes

Enhancements

  • #2745 FileTarget - Improve support for Linux FileSystem without BirthTime (@snakefoot)

Performance

  • #2744 LogEventInfo - HasProperties should allocate PropertiesDicitonary when needed (@snakefoot)
  • #2743 JsonLayout - Reduce allocations when needing to escape string (44% time improvement) (@snakefoot)

@304NotModified 304NotModified released this May 25, 2018 · 74 commits to master since this release

Assets 2

Fixes

  • #2736 FileTarget - Calculate correct archive date when multiple file appenders (@snakefoot)

Features

  • #2726 WhenRepeated - Support logging rules with multiple targets (@snakefoot)
  • #2727 Support for custom targets that implements IUsesStackTrace (@snakefoot)
  • #2719 DatabaseTarget: use parameters on install (@Jejuni)

Enhancements

  • #2718 JsonLayout - Always stringify when requested (@snakefoot)
  • #2739 Target.WriteAsyncLogEvents(IList) to public

Performance

@304NotModified 304NotModified released this May 5, 2018 · 115 commits to master since this release

Assets 2

Fixes

  • #2688 Faulty invalidate of FormattedMessage when getting PropertiesDictionary (@snakefoot)
  • #2687 Fix: NLog.config build-action and copy for non-core projects, it's now "copy if newer" (@304NotModified)
  • #2698 FileTarget - Calculate correct archive date, when using Monthly archive (@snakefoot)

Enhancements

@304NotModified 304NotModified released this Apr 16, 2018 · 162 commits to master since this release

Assets 2

Fixes

  • #2662 FileTarget - Improve handling of archives with multiple active files (@snakefoot)

Enhancements

  • #2587 Internal Log - Include target type and target name in the log messages (@snakefoot)
  • #2651 Searching for NLog Extension Files should handle DirectoryNotFoundException (@snakefoot)

Performance

  • #2653 LayoutRenderer ThreadSafe Attribute introduced to allow lock free Precalculate + other small performance improvements (@snakefoot)

@304NotModified 304NotModified released this Apr 15, 2018

Assets 2

Features

Fixes

  • #2643 UWP with NetStandard2 on Net Native does not support Assembly.CodeBase + Handle native methods in StackTrace (#2643) (@snakefoot)
  • #2644 FallbackGroupTarget: handle async state on fallback correctly (@snakefoot)

Performance

  • #2645 Minor performance optimization of some layoutrenderers (@snakefoot)
  • #2642 FileTarget - InitializeFile should skip dictionary lookup when same file (@snakefoot)

@304NotModified 304NotModified released this Apr 3, 2018 · 183 commits to master since this release

Assets 2

Some small fixes and (performance) improvements. No critical bugs are reported for NLog 4.5.

for full changelog, check https://github.com/NLog/NLog/blob/master/CHANGELOG.md

@304NotModified 304NotModified released this Mar 25, 2018 · 198 commits to master since this release

Assets 2

NLog 4.5 adds structured logging and .NET Standard support/UPW without breaking changes! Also many features has been added!

List of important changes in NLog 4.5

Features:

BugFixes:

Performance:

  • More targets has OptimizeBufferReuse enabled by default #1913 + #1923 + #1912 + #1911 + #1910 + #1909 + #1908 + #1907 + #2560 (@snakefoot)
  • StringBuilderPool - Improved Layout Render Performance by reusing StringBuilders #2208 (@snakefoot)
  • JsonLayout - Improved Layout Performance, by optimizing use of StringBuilder #2208 (@snakefoot)
  • FileTarget - Faster byte-encoding of log messsages, by using crude Encoding.GetMaxByteCount() instead of exact Encoding.GetByteCount() #2208 (@snakefoot)
  • Target - Precalculate Layout should ignore sub-layouts for complex layout (Ex Json) #2378 (@snakefoot)
  • MessageLayoutRenderer - Skip string.Format allocation (for caching) when writing to a single target, instead format directly into output buffer. #2507 (@snakefoot)

for full list, see https://github.com/NLog/NLog/blob/master/CHANGELOG.md

for what is supported in each platform, see https://github.com/NLog/NLog/wiki/platform-support

Pre-release
Pre-release

@304NotModified 304NotModified released this Mar 7, 2018 · 212 commits to master since this release

Assets 2