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