We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use your lib for sending message to Telegram, it works great, thank you!
But today I enable nullable in project and get error on code:
logConfig = logConfig.WriteTo.Telegram(config => { .... }, null, logLevelError);
null is param IMessageFormatter messageFormatter
in ctor I see that it is not nullable
public static LoggerConfiguration Telegram( this LoggerSinkConfiguration loggerConfiguration, Action<TelegramSinkConfiguration> configureAction, IMessageFormatter messageFormatter, LogEventLevel restrictedToMinimumLevel = LogEventLevel.Verbose)
but in next ctor TelegramSink is nullable
public TelegramSink( ChannelWriter<LogEvent> channelWriter, ILogsQueueAccessor logsQueueAccessor, TelegramSinkConfiguration sinkConfiguration, IMessageFormatter? messageFormatter)
pls make IMessageFormatter nullable in LoggerConfiguration Telegram
The text was updated successfully, but these errors were encountered:
@onatsko please check this version: https://www.nuget.org/packages/X.Extensions.Logging.Telegram/2.0.1-rc
Sorry, something went wrong.
thanx!
a-gubskiy
Successfully merging a pull request may close this issue.
I use your lib for sending message to Telegram, it works great, thank you!
But today I enable nullable in project
and get error on code:
null is param IMessageFormatter messageFormatter
in ctor I see that it is not nullable
but in next ctor TelegramSink is nullable
pls make IMessageFormatter nullable in LoggerConfiguration Telegram
The text was updated successfully, but these errors were encountered: