File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/X.Serilog.Sinks.Telegram/Configuration Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public TimeSpan RuleCheckPeriod
3333 /// <summary>
3434 /// Gets or initializes the batch processing rules to be applied.
3535 /// </summary>
36- public IImmutableList < IRule > BatchProcessingRules { get ; init ; } = null ! ;
36+ public IImmutableList < IRule > BatchProcessingRules { get ; init ; } = [ ] ;
3737
3838 /// <summary>
3939 /// Gets the execution hooks that are extracted from the batch processing rules.
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public int BatchPostingLimit
9090 /// <summary>
9191 /// Gets or sets the configuration for rules on emitting batches.
9292 /// </summary>
93- public BatchEmittingRulesConfiguration BatchEmittingRulesConfiguration { get ; set ; } = null ! ;
93+ public BatchEmittingRulesConfiguration BatchEmittingRulesConfiguration { get ; set ; } = new ( ) ;
9494
9595 /// <summary>
9696 /// Gets or sets the configuration for filtering logs.
You can’t perform that action at this time.
0 commit comments