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