Ejemplo n.º 1
0
        public HttpLoggerService(IHttpClientFactory clientFactory, IOptions <HttpLoggerOptions> options)
        {
            _clientFactory = clientFactory;
            _options       = options.Value;

            _baseUri = new Uri(_options.Uri);
        }
Ejemplo n.º 2
0
 public HttpLoggerProvider(IOptions <HttpLoggerOptions> config, HttpLoggerQueue queue)
 {
     _config = config.Value;
     _queue  = queue;
 }
Ejemplo n.º 3
0
 public HttpLogger(string name, HttpLoggerQueue queue, HttpLoggerOptions config)
 {
     _name   = name;
     _queue  = queue;
     _config = config;
 }