Skip to content

Commit

Permalink
Merge pull request #196 from nblumhardt/avoid-obsolete-overload
Browse files Browse the repository at this point in the history
Avoid using an obsolete source-compatible overload of WriteTo.Sink() …
  • Loading branch information
nblumhardt authored Feb 5, 2023
2 parents 1781ad8 + acc4408 commit 7be10d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Serilog.Sinks.Seq/SeqLoggerConfigurationExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public static LoggerConfiguration Seq(

return loggerSinkConfiguration.Conditional(
controlledSwitch.IsIncluded,
wt => wt.Sink(sink, restrictedToMinimumLevel));
wt => wt.Sink(sink, restrictedToMinimumLevel, levelSwitch: null));
}

/// <summary>
Expand Down

0 comments on commit 7be10d6

Please sign in to comment.