You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.
ConfigureLogging(Action configureLogging) is missing the WebHostBuilderContext and cannot handle logging configuration that may be dependent on configuration for example.
Remove the overload of UseLoggerFactory since it provides little additional benefit compared to just using UseLoggerFactory(Func<WebHostBuilderContext, ILoggerFactory> createLoggerFactory)
Also ConfigureLogging<LoggerFactory>(Action<LoggerFactory> configureLogging) and ConfigureLogging<LoggerFactory>(Action<Context, LoggerFactory> configureLogging) extension method, fill in the T. That way code like this works:
ConfigureLogging(Action configureLogging) is missing the WebHostBuilderContext and cannot handle logging configuration that may be dependent on configuration for example.
Remove the overload of UseLoggerFactory since it provides little additional benefit compared to just using UseLoggerFactory(Func<WebHostBuilderContext, ILoggerFactory> createLoggerFactory)
cc @glennc
The text was updated successfully, but these errors were encountered: