github NLog/NLog v6.1.4
NLog 6.1.4

6 hours ago

Improvements

  • #6225 AsyncTaskTarget - Fixed bug when using BatchSize=1 and doing explicit flush and next LogEvent fails. (@snakefoot)
  • #6206 MruCache - Changed to ConcurrentDictionary but still single writer. (@snakefoot)
  • #6205 TargetWithFilterChain - Increase CallSite MaxCapacity from 1000 to 2000. (@snakefoot)
  • #6197 JsonAttribute - New constructor with JsonLayout and Encode = false. (@snakefoot)
  • #6174 Reduce AOT file-size. Changed PropertyTypeConverter to avoid Dictionary for conversion mapping. (@snakefoot)
  • #6177 Reduce AOT file-size. Changed LogFactory PurgeObsoleteLoggers to clone Dictionary instead of ToList. (@snakefoot)
  • #6185 Reduce AOT file-size. Changed to use yield instead of Linq. (@snakefoot)
  • #6188 Reduce AOT file-size. Changed ConfigurationItemFactory from Dictionary to Array of PropertyInfo. (@snakefoot)
  • #6192 Reduce AOT file-size. Changed Target FindAllLayouts to use HashSet instead of Linq Distinct. (@snakefoot)
  • #6193 Reduce AOT file-size. Changed XmlLoggingConfiguration AutoReloadFileNames to use yield instead of Linq. (@snakefoot)
  • #6195 Reduce AOT file-size. Changed LoggingConfiguration CheckUnusedTargets to use HashSet instead of Linq. (@snakefoot)
  • #6204 TemplateEnumerator - Replace LiteralHole with CurrentHole and CurrentLiteral. (@snakefoot)
  • #6223 XmlParser - ReadUntilChar avoid extra string-allocation on trim InnerText. (@snakefoot)
  • #6222 XmlParser - Simplify ReadUntilChar by extracting parse of attribute-name into ReadEntityName. (@snakefoot)
  • #6209 AppVeyor - Visual Studio 2026. (@snakefoot)
  • #6199 Fixed nullable warnings from Activator.CreateInstance. (@snakefoot)
  • #6190 SetupConfigurationTargetBuilder - Fix Sonar Code Smell. (@snakefoot)
  • #6176 TryNLogSpecificConversion - Refactor parsing Layout from string. (@snakefoot)
  • #6210 ScopeContext - Fix List capacity for GetAllNestedStates. (@jnyrup)
  • #6211 ScopeContext - Renamed PushNestedState to CollectNestedState. (@snakefoot)
  • #6214 ScopeContext - Rename CaptureNestedContext to CloneNestedContext. (@snakefoot)
  • #6216 ScopeContext - Simplify CaptureContextProperties when only nested state. (@snakefoot)
  • #6217 ScopeContext - Unify CollectNestedState implementation. (@snakefoot)

Don't miss a new NLog release

NewReleases is sending notifications on new releases.