예제 #1
0
 public DefaultHttpResponseLogHandler(IHttpLogMessageFactory logMessageFactory,
                                      IHttpContextAccessor httpContextAccessor,
                                      IOptions <RaccoonLogHttpOptions> options)
 {
     _options             = options.Value;
     _logMessageFactory   = logMessageFactory;
     _httpContextAccessor = httpContextAccessor;
 }
예제 #2
0
 public DefaultHttpRequestLogHandler(IHttpLogMessageFactory logMessageFactory,
                                     IHttpRequestLogFormHandler formContentHandler,
                                     IHttpRequestLogBodyHandler bodyHandler)
 {
     _formContentHandler = formContentHandler;
     _logMessageFactory  = logMessageFactory;
     _bodyHandler        = bodyHandler;
 }
 public DefaultHttpRequestLogHandler(IHttpLogMessageFactory logMessageFactory,
                                     IHttpRequestLogFormHandler formContentHandler,
                                     IOptions <RaccoonLogHttpOptions> options)
 {
     _options            = options.Value;
     _formContentHandler = formContentHandler;
     _logMessageFactory  = logMessageFactory;
 }
 public DefaultHttpResponseLogHandler(IHttpLogMessageFactory logMessageFactory,
                                      IHttpResponseLogBodyHandler bodyHandler)
 {
     _logMessageFactory = logMessageFactory;
     _bodyHandler       = bodyHandler;
 }