File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/Elmah.Io.Extensions.Logging Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 35
35
</ItemGroup >
36
36
37
37
<ItemGroup >
38
- <PackageReference Include =" Elmah.Io.Client" Version =" [5.3.123 -pre,6)" />
38
+ <PackageReference Include =" Elmah.Io.Client" Version =" [5.3.124 -pre,6)" />
39
39
</ItemGroup >
40
40
41
41
<ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.0' " >
Original file line number Diff line number Diff line change @@ -162,10 +162,13 @@ private void CreateInstallation()
162
162
}
163
163
}
164
164
165
+ // Include environment variables from all possible sources since we don't know in which context Serilog is being executed.
165
166
EnvironmentVariablesHelper . GetElmahIoAppSettingsEnvironmentVariables ( ) . ForEach ( v => logger . EnvironmentVariables . Add ( v ) ) ;
166
167
EnvironmentVariablesHelper . GetAspNetCoreEnvironmentVariables ( ) . ForEach ( v => logger . EnvironmentVariables . Add ( v ) ) ;
167
168
EnvironmentVariablesHelper . GetDotNetEnvironmentVariables ( ) . ForEach ( v => logger . EnvironmentVariables . Add ( v ) ) ;
168
169
EnvironmentVariablesHelper . GetAzureEnvironmentVariables ( ) . ForEach ( v => logger . EnvironmentVariables . Add ( v ) ) ;
170
+ EnvironmentVariablesHelper . GetAzureFunctionsEnvironmentVariables ( ) . ForEach ( v => logger . EnvironmentVariables . Add ( v ) ) ;
171
+
169
172
170
173
_options . OnInstallation ? . Invoke ( installation ) ;
171
174
You can’t perform that action at this time.
0 commit comments