We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Please capture Azure Functions Environment as well:
if (string.IsNullOrWhiteSpace(environmentName)) { environmentName = Environment.GetEnvironmentVariable("AZURE_FUNCTIONS_ENVIRONMENT"); }
here
serilog-enrichers-environment/src/Serilog.Enrichers.Environment/Enrichers/EnvironmentNameEnricher.cs
Line 56 in 77ea4c4
as per
https://docs.microsoft.com/en-us/azure/azure-functions/functions-app-settings#azure_functions_environment
Thanks!