Skip to content

Commit

Permalink
feat(serilog): update dictionary value instead of add
Browse files Browse the repository at this point in the history
  • Loading branch information
pogromistik committed Aug 29, 2024
1 parent b9a0a6d commit 64e89fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sitko.Core.App/Logging/SerilogConfigurator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public SerilogConfigurator Configure(Func<LoggerConfiguration, LoggerConfigurati

public SerilogConfigurator ConfigureLogLevel(string source, LogEventLevel level)
{
logEventLevels.Add(source, level);
logEventLevels[source] = level;
return this;
}

Expand Down

0 comments on commit 64e89fb

Please sign in to comment.