I have the following Startup class for azure function:
public class Startup : FunctionsStartup
{
public override void Configure(IFunctionsHostBuilder builder)
{
//some code
}
}
How could I inject here Microsoft.Extensions.Logging.AzureAppServices provider and use AddAzureWebAppDiagnostics? something like:
.ConfigureLogging(logging => logging.AddAzureWebAppDiagnostics())
I use .Net Core 3.1