Skip to content

Commit

Permalink
Improve XML docs for AddNLog with IConfiguration override (#635)
Browse files Browse the repository at this point in the history
  • Loading branch information
snakefoot authored Nov 6, 2022
1 parent 5a4acaa commit ca2d210
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/NLog.Extensions.Logging/Extensions/ConfigureExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public static ILoggerFactory AddNLog(this ILoggerFactory factory, NLogProviderOp
/// Enable NLog as logging provider for Microsoft Extension Logging
/// </summary>
/// <param name="factory"></param>
/// <param name="configuration"></param>
/// <param name="configuration">Host Configuration for ${configsetting}</param>
/// <returns>ILoggerFactory for chaining</returns>
#if !NETCORE1_0
[Obsolete("Instead use ILoggingBuilder.AddNLog() or IHostBuilder.UseNLog()")]
Expand All @@ -76,7 +76,7 @@ public static ILoggingBuilder AddNLog(this ILoggingBuilder factory)
/// Enable NLog as logging provider for Microsoft Extension Logging
/// </summary>
/// <param name="factory"></param>
/// <param name="configuration">Configuration</param>
/// <param name="configuration">Override configuration and not use default Host Builder Configuration</param>
/// <returns>ILoggingBuilder for chaining</returns>
public static ILoggingBuilder AddNLog(this ILoggingBuilder factory, IConfiguration configuration)
{
Expand All @@ -88,7 +88,7 @@ public static ILoggingBuilder AddNLog(this ILoggingBuilder factory, IConfigurati
/// Enable NLog as logging provider for Microsoft Extension Logging
/// </summary>
/// <param name="factory"></param>
/// <param name="configuration">Configuration</param>
/// <param name="configuration">Override configuration and not use default Host Builder Configuration</param>
/// <param name="options">NLog Logging Provider options</param>
/// <returns>ILoggingBuilder for chaining</returns>
public static ILoggingBuilder AddNLog(this ILoggingBuilder factory, IConfiguration configuration, NLogProviderOptions options)
Expand Down

0 comments on commit ca2d210

Please sign in to comment.