diff --git a/src/Microsoft.AspNetCore.Hosting/WebHostBuilderExtensions.cs b/src/Microsoft.AspNetCore.Hosting/WebHostBuilderExtensions.cs index f425d59269..5065e399e5 100644 --- a/src/Microsoft.AspNetCore.Hosting/WebHostBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Hosting/WebHostBuilderExtensions.cs @@ -108,10 +108,10 @@ namespace Microsoft.AspNetCore.Hosting } /// - /// Adds a delegate for configuring the provided . This may be called multiple times. + /// Adds a delegate for configuring the provided . This may be called multiple times. /// /// The to configure. - /// The delegate that configures the . + /// The delegate that configures the . /// The . public static IWebHostBuilder ConfigureLogging(this IWebHostBuilder hostBuilder, Action configureLogging) { @@ -119,10 +119,10 @@ namespace Microsoft.AspNetCore.Hosting } /// - /// Adds a delegate for configuring the provided . This may be called multiple times. + /// Adds a delegate for configuring the provided . This may be called multiple times. /// /// The to configure. - /// The delegate that configures the . + /// The delegate that configures the . /// The . public static IWebHostBuilder ConfigureLogging(this IWebHostBuilder hostBuilder, Action configureLogging) { @@ -134,6 +134,10 @@ namespace Microsoft.AspNetCore.Hosting /// /// The to configure. /// The delegate that configures the . + /// + /// The type of to configure. + /// The delegate will not execute if the type provided does not match the used by the + /// /// The . public static IWebHostBuilder ConfigureLogging(this IWebHostBuilder hostBuilder, Action configureLogging) where T : ILoggerFactory {