Esempio n. 1
0
 public static LoggerConfiguration WithEnvironmentVariable(this LoggerEnrichmentConfiguration loggerEnrichmentConfiguration, string variableName, string environmentVariableName = null) =>
 loggerEnrichmentConfiguration.WithValue(variableName, Environment.GetEnvironmentVariable(environmentVariableName ?? variableName));