A Serilog sink that supports Azure App Services 'Diagnostics logs' and 'Log stream' features.
Write Serilog events to Azure Diagnostics Application Logging using Microsoft.Extensions.Logging and Microsoft.Extensions.Logging.AzureAppServices. Enables using the the Azure Log Stream and Blob storage for events.
Designed to be used with Serilog.AspNetCore. Works with UseSerilog().
var log = new LoggerConfiguration()
.WriteTo.AzureApp()
.CreateLogger();
Diagnostic logs and log stream are configured in the Azure App Service's Monitoring section.