Serilog.Enrichers.EnvironmentVariableEnricher
Enriches log events with a EnvironmentName property containing the value of the ASPNETCORE_ENVIRONMENT or DOTNET_ENVIRONMENT environment variable.
namespace Serilog.Enrichers
{
internal sealed class EnvironmentVariableEnricher : CachedPropertyEnricher
{
public EnvironmentVariableEnricher(string envVarName, string propertyName);
}
}