File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed
src/X.Serilog.Sinks.Telegram/Extensions Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 1- using System . Collections . Immutable ;
2- using Serilog ;
1+ using Serilog ;
32using Serilog . Events ;
4- using X . Serilog . Sinks . Telegram . Batch . Rules ;
53using X . Serilog . Sinks . Telegram . Configuration ;
64using X . Serilog . Sinks . Telegram . Extensions ;
75using X . Serilog . Sinks . Telegram . Filters . Fluent ;
Original file line number Diff line number Diff line change 11using System . Collections . Immutable ;
22using X . Serilog . Sinks . Telegram . Batch . Rules ;
33using X . Serilog . Sinks . Telegram . Configuration ;
4- using X . Serilog . Sinks . Telegram . Filters . Fluent ;
54
65namespace X . Serilog . Sinks . Telegram . Extensions ;
76
@@ -51,7 +50,7 @@ private static LoggerConfiguration TelegramCoreInternal(
5150 ApplyLogFilters = false
5251 } ;
5352 } ,
54- messageFormatter : null ! ,
53+ messageFormatter : null ,
5554 restrictedToMinimumLevel : logLevel ) ;
5655 }
5756}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ public static class LoggerConfigurationTelegramExtensions
1414 public static LoggerConfiguration Telegram (
1515 this LoggerSinkConfiguration loggerConfiguration ,
1616 Action < TelegramSinkConfiguration > configureAction ,
17- IMessageFormatter messageFormatter ,
17+ IMessageFormatter ? messageFormatter ,
1818 LogEventLevel restrictedToMinimumLevel = LevelAlias . Minimum )
1919 {
2020 if ( loggerConfiguration == null )
You can’t perform that action at this time.
0 commit comments