public TelegramLoggerProvider(IOptionsMonitor <TelegramLoggerOptions> config, ITelegramMessageService telegramMessageService) { _config = config.CurrentValue; _telegramMessageService = telegramMessageService; }
public TelegramLogger(string name, TelegramLoggerOptions config, ITelegramMessageService telegramMessageService) { _name = name; _config = config; _telegramMessageService = telegramMessageService; }