github NLog/NLog v4.5
NLog 4.5

latest releases: v5.3.1, v5.3.0, v5.2.8...
6 years ago

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

Don't miss a new NLog release

NewReleases is sending notifications on new releases.