Beispiel #1
0
 public TelegramLoggerProvider(TelegramLoggerOptions options, HttpClient client)
 {
     _options = options ?? throw new ArgumentNullException(nameof(options));
     _client  = client ?? throw new ArgumentNullException(nameof(client));
 }
 public TelegramLogger(string @namespace, TelegramLoggerOptions options, HttpClient client)
 {
     _namespace = @namespace;
     _options   = options;
     _client    = client;
 }