NLog Versions Save

NLog - Advanced and Structured Logging for Various .NET Platforms

v5.2.8

4 months ago

Improvements

  • #5450 ConfigurationItemFactory - Skip type attribute lookup for official types (#5450) (@snakefoot)
  • #5441 LoggingRule - ToString should recognize Final and FinalMinLevel (#5441) (@snakefoot)
  • #5438 FileTarget - Refactor Windows FileSystem Tunneling repair logic (#5438) (@snakefoot)
  • #5432 Hide obsolete methods and classes from intellisense (#5432) (@snakefoot)
  • #5429 CachedTimeSource - Added Thread.MemoryBarrier to avoid code-reordering (#5429) (@snakefoot)

v5.2.7

5 months ago

Improvements

  • #5427 FileTarget - Fix Windows FileSystem Tunneling when KeepFileOpen=false (#5427) (@snakefoot)
  • #5422 AppEnvironmentWrapper - Added Entry-Assembly as fallback for ProcessName (#5422) (@snakefoot)
  • #5419 Improved XML docs for MDC, MDLC, NDC, NDLC about being replaced by ScopeContext (#5419) (@snakefoot)

v5.2.6

5 months ago

Improvements

  • #5407 FileTarget - Added option WriteHeaderWhenInitialFileNotEmpty (#5407) (@RomanSoloweow)
  • #5381 FileTarget - Removed explicit File.Create to not trigger file-scanners (#5381) (@snakefoot)
  • #5382 FileTarget - SetCreationTimeUtc only when IsArchivingEnabled (#5382) (@snakefoot)
  • #5384 FileTarget - SetCreationTimeUtc always when running on Windows (#5384) (@snakefoot)
  • #5389 ColoredConsoleTarget - Added Setup-extension-method WriteToColoredConsole (#5389) (@snakefoot)
  • #5409 MemoryTarget - Make Logs-property thread-safe to enumerate (#5409) (@snakefoot)
  • #5413 MultiFileWatcher - Improve InternalLogger output to match on start and stop (#5413) (@snakefoot)
  • #5398 Marked obsolete members with EditorBrowsableState.Never (#5398) (@snakefoot)
  • #5412 Change TargetFrameworks to net461 when old VisualStudioVersion (#5412) (@snakefoot)

v5.2.5

6 months ago

Improvements

  • #5344 ConcurrentRequestQueue - Reduced SpinCount to 15, before monitor wait (#5344) (@snakefoot)
  • #5347 ConfigurationItemFactory - Improve exception message when unknown type-alias (#5347) (@snakefoot)
  • #5348 ConfigurationItemFactory - Faster scanning of relevant configuration item types (#5348) (@snakefoot)
  • #5349 FileTarget - Verify FilePathLayout not containing unexpected characters (#5349) (@snakefoot)
  • #5351 LogManager.ReconfigExistingLoggers with reduced memory allocation (#5351) (@snakefoot)
  • #5353 CsvLayout - Improve XML docs for CustomColumnDelimiter (#5353) (@snakefoot)
  • #5354 LogEventInfo - Can be immutable when having FormattedMessage and no parameters (#5354) (@snakefoot)
  • #5356 Renamed internal NLogXmlElement to XmlLoggingConfigurationElement and fixed XML docs (#5356) (@snakefoot)
  • #5359 StringHelpers - Skip SubString for case-insensitive Replace-method (#5359) (@snakefoot)
  • #5360 ReplaceLayoutRendererWrapper - IgnoreCase faster without RegEx (#5360) (@snakefoot)
  • #5363 Improved InternalLogger output when parsing NLog config with target wrappers (#5363) (@snakefoot)
  • #5370 NetworkTarget - Skip connection when above max message size (#5370) (@snakefoot)
  • #5371 Fixed various issues reported by EnableNETAnalyzers (#5371) (@snakefoot)
  • #5372 Updated various nuget-packages to include README.md (#5372) (@snakefoot)

v5.2.4

7 months ago

Improvements

  • #5316 ObjectPath should only render output when finding property-value (#5316) (@snakefoot)
  • #5318 Typed Layout parses empty string as fixed null value when nullable (#5318) (@snakefoot)
  • #5319 Introduced new LogEventInfo-constructor to skip Parameters-array allocation (#5319) (@snakefoot)
  • #5321 ConfigurationItemFactory - Improve obsolete message for JsonConverter + ValueFormatter (#5321) (@snakefoot)
  • #5326 InternalLogger - Force output even when invalid format string (#5326) (@snakefoot)
  • #5327 NetworkTarget - Avoid unhandled exception when using ThrowExceptions=true (#5327) (@snakefoot)
  • #5336 Skip checking ExcludeProperties when empty, to avoid string GetHashCode (#5336) (@snakefoot)
  • #5337 JsonLayout optimizing thread context capture for inner layouts (#5337) (@snakefoot)
  • #5310 FileTarget - FilePathLayout with fixed-filename can translate to absolute path (#5310) (@snakefoot)

v5.2.3

8 months ago

Improvements

  • #5308 AutoFlushTargetWrapper - Explicit flush should also await when FlushOnConditionOnly (#5308) (@snakefoot)
  • #5301 Target precalculate should only perform single IsInitialized check (#5301) (@snakefoot)
  • #5300 Target precalculate should only consider relevant layouts (#5300) (@snakefoot)
  • #5296 Target precalculate should handle duplicate layouts (#5296) (@snakefoot)
  • #5299 MessageLayoutRenderer - Skip Flatten when simple AggregateException (#5299) (@snakefoot)
  • #5298 ConfigurationItemFactory - Improve obsolete message for obsoleted factory-properties (#5298) (@snakefoot)
  • #5291 Report NLog version on initial configuration assignment (#5291) (@snakefoot)
  • #5290 PropertyHelper - SetPropertyFromString allow empty string for nullable-value (#5290) (@snakefoot)
  • #5289 Check RequiredParameter should also validate nullable types (#5289) (@snakefoot)
  • #5287 FileTarget - FilePathLayout with fixed-filename can translate to absolute path (#5287) (@snakefoot)
  • #5279 FileTarget - Cleanup FileSystemWatcher correctly when ArchiveFilePatternToWatch changes (#5279) (@lavige777)
  • #5281 Refactor ConditionBasedFilter when-filter to use ternary operator (#5281) (@jokoyoski)

v5.2.2

9 months ago

Improvements

  • #5276 ConfigurationItemFactory - Fix NullReferenceException when skipping already loaded assembly (#5276) (@snakefoot)

v5.2.1

10 months ago

Improvements

  • #5191 WrapperTarget - Derive Name from wrappedTarget (#5248) (@snakefoot)
  • #5249 Updated obsolete warning for ConfigurationReloaded-event (#5249) (@snakefoot)
  • #5251 ConfigurationItemFactory - Notify when using reflection to resolve type (#5251) (@snakefoot)
  • #5253 LoggingConfigurationParser - Create list items without using reflection (#5253) (@snakefoot)
  • #5254 ConfigurationItemFactory - Include ConditionExpression in registration (#5254) (@snakefoot)
  • #5255 LogFactory - Obsoleted GetLogger should not throw exceptions when invalid logger-type (#5255) (@snakefoot)
  • #5257 ConfigurationItemFactory - Skip assembly-loading should also check prefix-option (#5257) (@snakefoot)
  • #5263 ConfigurationItemFactory - Logging assembly-prefix when loading assembly (#5263) (@snakefoot)
  • #5266 ILogger - Remove irrelevant StructuredMessageTemplateAttribute (#5266) (@saltukkos)
  • #5267 ILogger - Updated obsolete warning for ErrorException-method and friends (#5267) (@snakefoot)
  • #5269 LoggingConfigurationParser - TryGetEnumValue should throw when invalid string-value (#5269) (@snakefoot)
  • #5268 ConfigurationItemFactory - Include ConditionMethods in registration (#5268) (@snakefoot)
  • #5273 TargetWithContext - Fix InternalLogger output about Object reflection needed (#5273) (@snakefoot)

v5.2.0

11 months ago

Improvements

  • #5191 ConfigurationItemFactory annotated for trimming and obsoleted CreateInstance-delegate (#5191) (@snakefoot)
  • #5216 Refactor - Apply ThrowIfNull and ThrowIfNullOrEmpty (#5216) (@nih0n)

See also: NLog v5.2 without trim warnings, and obsoleted methods.

v5.1.5

11 months ago

Improvements

  • #5229 TargetWithContext - Fixed ScopeContext capture when multiple wrappers (#5229) (@snakefoot)
  • #5227 DefaultJsonSerializer - Cache length when validating json encoding (#5227) (@snakefoot)
  • #5220 FileTarget - Suppress exceptions from retrieving FileInfo.CreationTimeUtc (#5220) (@snakefoot)
  • #5219 LoggingConfigurationParser - Handle adding Target without name (#5219) (@snakefoot)
  • #5215 Log4jXmlEvent - Fixed removal of invalid XML chars (#5215) (@snakefoot)
  • #5210 LoggingConfiguration - Expand NLog config variables for Logging Rules WriteTo (#5210) (@snakefoot)