示例#1
0
 public HttpLogMessageFactory(
     IOptions <RaccoonLogHttpOptions> options,
     IDataProtector dataProtector)
 {
     _dataProtector = dataProtector;
     _options       = options.Value;
 }
示例#2
0
 public HttpLoggingProvider(IHttpResponseLogHandler responseHandler,
                            IHttpRequestLogHandler requestHandler,
                            IOptions <RaccoonLogHttpOptions> options,
                            ILogger <HttpLoggingProvider> logger,
                            IHttpLoggingStore store, IStoreQueue storeQueue)
 {
     _store           = store;
     _options         = options.Value;
     _responseHandler = responseHandler;
     _requestHandler  = requestHandler;
     _logger          = logger;
     _storeQueue      = storeQueue;
 }