Skip to content

Commit 04fa379

Browse files
authored
Changed LoggingConfigurationSectionName to default NLog (#520)
1 parent 5aa3c2d commit 04fa379

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/NLog.Extensions.Logging/Logging/NLogProviderOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public class NLogProviderOptions
7272
/// Checks the Host Configuration for the specified section-name, and tries to load NLog-LoggingConfiguration after creation of NLogLoggerProvider
7373
/// </summary>
7474
/// <remarks>Will only attempt to load NLog-LoggingConfiguration if valid section-name, and NLog-LoggingConfiguration has not been loaded already.</remarks>
75-
public string LoggingConfigurationSectionName { get; set; }
75+
public string LoggingConfigurationSectionName { get; set; } = "NLog";
7676

7777
/// <summary>
7878
/// Enable additional capture of the entire <see cref="Microsoft.Extensions.Logging.EventId"/> as "EventId"-property.

0 commit comments

Comments
 (0)