Skip to content

Commit

Permalink
Added logger properties to installation
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasArdal committed Nov 20, 2024
1 parent 3c005da commit 4d99166
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/Elmah.Io.Extensions.Logging/ElmahIoLoggerProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,15 @@ private void CreateInstallation()
var logger = new LoggerInfo
{
Type = "Elmah.Io.Extensions.Logging",
Properties = [],
Properties =
[
new Item("BackgroundQueueSize", _options.BackgroundQueueSize.ToString()),
new Item("BatchPostingLimit", _options.BatchPostingLimit.ToString()),
new Item("IncludeScopes", _options.IncludeScopes.ToString()),
new Item("Period", _options.Period.ToString()),
new Item("Synchronous", _options.Synchronous.ToString()),
new Item("WebProxy", _options.WebProxy?.GetType().FullName ?? ""),
],
ConfigFiles = [],
Assemblies =
[
Expand Down

0 comments on commit 4d99166

Please sign in to comment.