Date format: (year/month/day)
Improvements
- #773: UseNLog allow fallback to only EnvironmentName for NLog config (#773) (@snakefoot)
- #771: NLogMessageParameterList - Optimize the index operator (#771) (@snakefoot)
- #770: NLogMessageParameterList - Simplify the index operator (#770) (@snakefoot)
- #768: Recognize ITuple for better AOT support (#768) (@snakefoot)
Improvements
- #765: UseNLog should fallback after checking ContentRoot for NLog.config (#765) (@snakefoot)
Improvements
- #761: NLogLoggingConfiguration - Fix memory-leak when using AutoReload (#761) (@snakefoot)
- #761: Updated to NLog v5.3.4 (#761) (@snakefoot)
Improvements
- #756: Fallback to Microsoft Logging Formatter when mixing positional with structured (#756) (@snakefoot)
- #755: NLogMessageParameterList - Optimize check of CaptureType for index operator (#755) (@snakefoot)
- #751: NLogLoggingConfiguration - Refactor to reduce code complexity (#751) (@snakefoot)
- #747: Added Copyright to nuget-package (#747) (@snakefoot)
- #758: Updated to NLog v5.3.3 (#758) (@snakefoot)
Improvements
- #745: Fixed CallSite-logic for NLog.Web.AspNetCore (#745) (@snakefoot)
Improvements
- #742: Improve auto ordering of variables-section when dependent variables (#742) (@snakefoot)
- #743: Updated to NLog v5.3.2 (#743) (@snakefoot)
Improvements
- #724: Skipping empty config sections without throwing exceptions (#724) (@RodionovDmitry)
- #737: Auto ordering of variables-section when dependent variables (#737) (@snakefoot)
- #741: Updated to NLog v5.3.1 (#741) (@snakefoot)
Improvements
- #719: Fixed IncludeActivityIdsWithBeginScope to work with NET 8.0 (#719) (@Owen-Krueger)
- #714: UseNLog includes EnvironmentName when loading NLog config (#714) (@snakefoot)
- #720: Updated to NLog v5.2.8 (#720) (@snakefoot)
Improvements
- #705: Added target platform for NET 8.0 (#705) (@snakefoot)
- #710: Improve XML docs for AddNLog and UseNLog (#710) (@snakefoot)
- #713: Updated to NLog v5.2.7 (#713) (@snakefoot)
Improvements
- #692: NLogLoggerFactory - Optimize concurrency for CreateLogger (@snakefoot)
- #695: Updated to NLog v5.2.5 (@snakefoot)
Improvements
- #687: Introduced CaptureMessageParameters to skip allocating Parameters-array (@snakefoot)
- #687: Updated to NLog v5.2.4 (@snakefoot)
Improvements
- #685: Updated to NLog v5.2.3 (@snakefoot)
Improvements
- #680: Updated to NLog v5.2.2 (@snakefoot)
Improvements
- #679: Updated to NLog v5.2.1 (@snakefoot)
Improvements
- #669: Updated to NLog v5.2 (@snakefoot)
- #669: NLogLoggerProvider - Replaced dynamic assembly loading with registration methods (@snakefoot)
Improvements
Improvements
- #662: NLogBeginScopeParser - Skip capture of nested state when List + Array + Dictionary (@snakefoot)
- #663: Updated to NLog v5.1.3 (@snakefoot)
Improvements
- #659: Updated to NLog v5.1.2 (@snakefoot)
Improvements
- #650: Fixed NLogLoggingConfiguration to handle wrapped targets without name (@snakefoot)
- #648: Improve code-coverage by merging similar AddNLog-methods (@snakefoot)
- #653: Updated to NLog v5.1.1 (@snakefoot)
Improvements
- #645: Updated to NLog v5.1 with support for ISpanFormattable (@snakefoot)
- #646: Use CallerArgumentExpressionAttribute in helper method for throwing ArgumentNullException (@snakefoot)
- #639: NLogBeginScopeParser - CaptureScopeProperties with cached scopePropertyCount (@snakefoot)
- #638: NLogMessageParameterList - Skip parsing Parameters-array when simple positional message template (@snakefoot)
- #635: Improve XML docs for AddNLog with IConfiguration override (@snakefoot)
- #634: NLogLogger - Small optimization when message-template syntax is used (@snakefoot)
- #632: Use RegisterConfigSettings instead of ConfigSettingLayoutRenderer (@snakefoot)
- #631: NLog.Extensions.Hosting - Skip RegisterItemsFromAssembly since handled by RegisterConfigSettings (@snakefoot)
Improvements
- #629: Replace NetCoreApp31 + Net50 with NetStandard2.1 + Net60 (@snakefoot)
- #628: MicrosoftConsoleJsonLayout - Skip string-allocation for timestamp-output (@snakefoot)
- #627: LoadConfigurationFromSection should RegisterConfigSettings without configuration assign (@snakefoot)
- #630: Bump NLog from 5.0.4 to 5.0.5 (@snakefoot)
Improvements
- #621: Added embedded resource ILLink.Descriptors.xml (@snakefoot)
- #621: Bump NLog from 5.0.3 to 5.0.4 (@snakefoot)
Improvements
- #617: NLog.ExtensionsHosting loads NLog.config from ContentRootPath as last fallback (@snakefoot)
- #619: Bump NLog from 5.0.2 to 5.0.3 (@snakefoot)
Improvements
- #614: ConfigSettingLayoutRenderer - Support escape of dot-separator (@snakefoot)
- #606: Introduced NLogProviderOptions AutoShutdown that is turned off by default (@snakefoot)
- #615: Bump NLog from 5.0.1 to 5.0.2 (@snakefoot)
Improvements
- #599: Fixed MissingMethodException for HostBuilderContext.get_HostingEnvironment() (@snakefoot)
- #595: Added AddNLog-extension-method with custom options and serviceprovider-functor (@dependabot)
- #486: Bump NLog from 5.0.0 to 5.0.1 (@dependabot)
Improvements
- #590: Added nuget-dependency Microsoft.Extensions.Configuration.Abstractions for all platforms (@snakefoot)
- #583: NLogBeginScopeParser - Improve parsing of custom KeyValuePair as scope-properties (@snakefoot)
- #581: Support RemoveLoggerFactoryFilter and ReplaceLoggerFactory in appsettings.json (@snakefoot)
- #579: ConfigSettingLayoutRenderer - Improve support for RegisterServiceProvider (@snakefoot)
- #572: MicrosoftConsoleLayoutRenderer - Skip string-allocation for EventId when possible on platform (@snakefoot)
- #571: MicrosoftConsoleJsonLayout - Fixed IndexOutOfRangeException when large EventID (@snakefoot)
- #570: MicrosoftConsoleLayoutRenderer - Fixed IndexOutOfRangeException when large EventID (@mickelsonmichael)
See also List of major changes in NLog 5
Improvements
- #564: NLog.ExtensionsHosting includes ContentRootPath when scanning for NLog.config candidate (@snakefoot)
- #565: NLogProviderOptions ShutdownOnDispose = true disables LogFactory.AutoShutdown (@snakefoot)
Features
- #554: NLogProviderOptions with support for CaptureEventId.EventId + EventName (@snakefoot)
- #555: MicrosoftConsoleJsonLayout - Simulates Microsoft AddJsonConsole Formatter (@snakefoot)
Improvements
- #546: NLogLogger refactoring for faster EventId-property capture (@snakefoot)
- #547: NLogLogger refactoring for faster EventId-property capture (@snakefoot)
- #552: Bump Microsoft.SourceLink.GitHub from 1.0.0 to 1.1.1 (@dependabot[bot])
- #558: Bump to Visual Studio 2022 on AppVeyor (@snakefoot)
- #559: NLogLogger - Reduce complexity of CreateLogEventInfo (@snakefoot)
Features
- #538: NLogProviderOptions with support for CaptureEventId (@snakefoot)
Improvements
- #541: NLogLogger refactoring for faster EventId-property capture (@snakefoot)
- #539: NLogLogger refactoring to reduce code-path-navigations (@snakefoot)
Improvements
- #529: NLogLoggerProvider - Always load from appsettings when possible (@snakefoot)
- #530: Replaced platform netcoreapp3.0 with netcoreapp3.1 (@snakefoot)
- #531: Fix NLogLoggingConfiguration to handle throwConfigExceptions with NLog 5.0 (@snakefoot)
- #534: Fixed spelling for IncludeActivityIdsWithBeginScope (@snakefoot)
- #535: NLogProviderOptions with support for RegisterServiceProvider (@snakefoot)
Features
- #520: Changed LoggingConfigurationSectionName to default NLog (@snakefoot)
- #465: Add support for config variables with JsonLayout (@snakefoot)
Improvements
- #522: Reload now fully support KeepVariablesOnReload (@snakefoot)
- #521: Change default value for RemoveLoggerFactoryFilter to true (@snakefoot)
- #486: Removed platform .NET 4.5.1 (@snakefoot)
Performance
- #519: Update to NLog 5.0 Preview 1 with ScopeContext instead of MDLC (@snakefoot)
- #485: Remove startup overhead caused by enumerating all assemblies for callsite logic (@snakefoot)
- #319: NLogLogger - Reduce allocation by not boxing EventId when CaptureEntireEventId = false (@snakefoot)
See also List of major changes in NLog 5
- #570: MicrosoftConsoleLayoutRenderer - Fixed IndexOutOfRangeException when large EventID (@mickelsonmichael)
- #572: MicrosoftConsoleLayoutRenderer - Skip string-allocation for EventId when possible on platform (@snakefoot)
- Bump NLog from 4.7.11 to 4.7.15
Performance
- #513: NLogLogger - Skip custom message formatting when no parameters (@snakefoot)
Improvements
- #515: Disable ImplicitNuGetFallbackFolder for tests - fixes NU3005 on AppVeyor (@304NotModified)
- #516: Bump NLog from 4.7.10 to 4.7.11 (@dependabot)
- #510 Reduced code complexity of MicrosoftILoggerTarget (@snakefoot)
- #509 Faster checking if LogLevel IsEnabled (#509) (@snakefoot)
- #507 Bump NLog from 4.7.9 to 4.7.10 (#507) (@dependabot[bot])
- #501 Extended NLogProviderOptions with the option LoggingConfigurationSectionName (#501) (@snakefoot)
- #500 Support TargetDefaultWrapper and TargetDefaultParameters in appsettings.json (#500) (@snakefoot)
- #494 Fix SonarQube Scanning (#494) (@304NotModified)
- #495 Bump NLog from 4.7.8 to 4.7.9 (#495) (@dependabot[bot])
- #490 MicrosoftConsoleLayoutRenderer - For Hosting Lifetime Startup Messages (#490) (@snakefoot)
- #488 NLogLoggingConfiguration support custom section names (#488) (@anellomancante)
- #482 NLogProviderOptions - Added ReplaceLoggerFactory and RemoveLoggerFactoryFilter (#482) (@snakefoot)
- #479 Enable deterministic build (#479) (@304NotModified)
- #476 MicrosoftILoggerTarget - Add support for override LoggerName when using ILoggerFactory (#476) (@snakefoot)
- #470 MicrosoftILoggerTarget - Reduce chance of deadlock in ILoggerFactory by caching created loggers (#470) (@snakefoot)
- #468 MicrosoftILoggerTarget - With ILoggerFactory as constructor parameter (#468) (@snakefoot)
- #463 Added unit-test for NLogProviderOptions.IncludeActivtyIdsWithBeginScope (#463) (@snakefoot)
- #469 Update Nuget package description with ASP.NET Core so it matches NLog Package (#469) (@snakefoot)
- #467 Bump NLog from 4.7.6 to 4.7.7 (#467) (@dependabot[bot])
- #477 Bump NLog from 4.7.7 to 4.7.8 (#477) (@dependabot[bot])
- #456 Added NLogProviderOptions.IncludeActivtyIdsWithBeginScope and added .NET 5 build (#456) (@snakefoot)
- #451 NLogBeginScopeParser - Reduce allocation for BeginScope with message template (#451) (@snakefoot)
- #461 Move to PackageIcon and PackageLicenseExpression for NuGet package (#461) (@snakefoot)
- #450 Bump NLog from 4.7.4 to 4.7.6 (#450, #458) (@dependabot[bot])
- #444 Fix ShutdownOnDispose to work with isolated LogFactory (#444) (@snakefoot)
- #439 Added SourceLink (#439) (@304NotModified)
- #429 Fix documentation of default (#429) (@304NotModified)
- #448 Bump NLog from 4.7.3 to 4.7.4 (#448) (@dependabot[bot])
- #419 LogFactory.Setup - Make RegisterConfigSettings public (#423) (@snakefoot)
- #411 Bump NLog to 4.7.2 (#426) (@dependabot-preview[bot])
- #419 Reading JSON config - Trim keys as Json allows spaces in keys (#419) (@snakefoot)
- #411 Bump NLog to 4.7.0 (#411) (@dependabot-preview[bot])
- #418 Introduced LoadConfigurationFromSection extension method for LogFactory.Setup (#410, #412, #418) (@snakefoot)
- #380 NLogLoggerFactory - Emulate Microsoft LoggerFactory by returning same ILogger instance (#380) (@snakefoot)
- #393 AddNLog overload with NLogProviderOptions and LoggingConfiguration (#393) (@JeffreyMercado)
- #407 Improve AddNLog with LoggingConfiguration to handle custom LogFactory-instance (#407) (@snakefoot)
- #408 Update NLog dependency to 4.6.8 (#408) (@304NotModified)
- #350 Fixed conflict issue between UseNLog and default log providers (@snakefoot)
- #332 Support .NET Core 3.0 (@304NotModified)
- #342 ILoggerFactory is obsolete in .NET Core 3. Instead use ILoggingBuilder.AddNLog (#342) (@snakefoot)
- #345 Added AddNLog with functor to create/initialize LogFactory for NLogLoggingProvider (@snakefoot)
- #344 Introduce AddNLog with NLog-config parameter (#344) (@snakefoot)
- #333 + #334 Minor optimizations in parsing of LogEvent property-names
- #325 Fix dispose for AddNLog (on ILoggingBuilder) and no double logging when also using UseNLog (@snakefoot)
- #322 Fixed memory leak in NLogLoggingConfiguration for autoreload
- #314 Added NLogProviderOptions.ShutdownOnDispose (#314) (@304NotModified)
- #315 Update NLog to 4.6.5 (#315) (@304NotModified)
- #289 NLogBeginScopeParser - Improved exception handling (@snakefoot)
- #299 Update dependency NLog ver. 4.6.4 (@snakefoot)
- #263 Support for loading NLog config from appsettings.json using NLogLoggingConfiguration
- #263 Improved performance and reduced allocation for ILogger.BeginScope
- #260 Introduced MicrosoftILoggerTarget for logging in Azure Lambda (Ex. output with JsonLayout)
- #272 Better handling of IndexOutOfRangeException when invalid log-message format
See https://github.com/NLog/NLog.Extensions.Logging/milestone/24?closed=1
- #257 Updated to Microsoft.Extensions.Logging ver. 2.1.0 with support for ${configsetting}
- #248 Configure NLogProviderOptions from appsettings.json
- #257 Create snupkg packages
- #245 Added ${configsetting} for appsettings.json and others (@snakefoot, @linmasaki)
- #246 Fixing bug throwing ArgumentOutOfRangeException if input is empty list (@thorhalvor)
- #236 BeginScope always return scope-object even on error (@snakefoot)
- #243 Enhancements for .NET Core 2 examples (@bryan5989)
- #233 Fixed null-reference-exception when parsing empty scope-property collection (@snakefoot)
- #232 BeginScope: support for non-serializable objects + performance improvement (20-50% cpu, 35% times less allocations) (#232) (@snakefoot)
- #229 BeginScope should accept any type of KeyValuePair (Swallow exceptions) (@snakefoot)
- #223 BeginScope accepts any type of KeyValuePair and Dictionary (@snakefoot)
- #213 Added support for using NLog MessageTemplate Parser (NLogProviderOptions.ParseMessageTemplates) (@snakefoot)
- #220 Exclude NLog 5 pre-releases as dependency (@aweebs, @304NotModified)
- #217 Update NLog dependency, (@304NotModified)
- #210 Automatic loading of hidden assemblies for callsite logic in NetCore2 (@snakefoot)
- #206 Add Alias attribute to NLogLoggerProvider (@leewadhams)
- #207 Update dependencies (@304NotModified)
- #205 Release 1.0 (@304NotModified)
- #204 CallSite should recognize all Microsoft.Extensions.Logging.ILogger (@snakefoot)
- #203 Update NetCore2 ConsoleExample with LogManager.Shutdown (@snakefoot)
- #200 ConfigureHiddenAssemblies only needed for NetCoreApp1 (@snakefoot)
- #199 Prepare RC7 (@snakefoot)
- #194 MessageProperties - Support list with single property (@snakefoot)
- #195 Using LogManager.LoadConfiguration (@snakefoot)
- #193 Support for UAP10/UWP, Update NLog dependency (@304NotModified, @snakefoot)
- #186 RC5 version and changelog (@304NotModified)
- #185 Removed System.Runtime for net451 (@snakefoot)
- #184 Better hide assemblies for ${callsite} (@304NotModified)
- #183 Cleanup #if (@304NotModified)
- #182 Remove old examples (@304NotModified)
- #181 Upgrade to NLog 4.5 rc2, remove nlog 5 reference, version to rc4 (@304NotModified)
- #178 Move files into component folders (@304NotModified)
- #180 NLogMessageParameterList - Refactor validation of parameterList (@snakefoot)
- #177 Fix: Captured parameter name has unwanted @ or $ prefix (@304NotModified)
- #176 Refactor: split methods, docs, error handling, smaller methodes and consistency (#176) (@304NotModified)
- #174 1.0.0-rtm-rc3 + changelog (@304NotModified)
- #173 Fix callsite (@304NotModified)
- #171 Implement .NET standard 2 features for .NET 4.6.1 + update dependencies + messagetemplates (@snakefoot)
- #162 Auto patch file version on AppVeyor (@304NotModified)
- #167 Update NetCore2 ConsoleExample to include the minimumlevel. (@seblucas)
Fixes
- #159 Fix Recursive resource lookup bug (@304NotModified)
- #158 Update dependencies version range (@304NotModified)
Breaking Changes
- #154 Enable by default: CaptureMessageTemplates & CaptureMessageProperties (@304NotModified)
- #151 NLogProviderOptions: added IgnoreEmptyEventId, enabled by default. (@snakefoot)
- #151 NLogProviderOptions: set default EventIdSeparator to underscore. (@snakefoot)
Features
- #125 Capture structured logging parameter names (@snakefoot)
- #148 MessageProperties - Allow capture of message properties (CaptureMessageProperties option) (@snakefoot)
- #152 Introduced NetStandard1.5 by updating to NLog 4.5-beta07 (@snakefoot)
Other
- #138 1.0.0-rtm-beta7 release notes and version (@304NotModified)
- #141 Enable XML docs + docs (@304NotModified)
- #137 Cleanup, update docs (@304NotModified)
- #136 Support .NET 4.6.1 + Microsoft.Extensions.Logging 2.0, running tests for .NET 4.6.1, coreapp1.1 and coreapp2.0 (@304NotModified)
- #134 remove unneeded version prefix (@304NotModified)
- #135 Added NLogLoggerFactory (@304NotModified)