/// <summary> /// Initializes a new instance of the <see cref="ContentLogger"/> class. /// </summary> /// <param name="headerFactory">Header value middleware factory.</param> /// <param name="contentFactory">Content value middleware factory.</param> protected ContentLogger(LogHeaderFactory headerFactory, LogContentFactory contentFactory) { _headerFactory = headerFactory; _contentFactory = contentFactory; }
/// <summary> /// Initializes a new instance of the <see cref="RequestLogger"/> class. /// </summary> /// <param name="contentFactory">Request content value factory.</param> /// <param name="headerFactory">Request header value factory.</param> public RequestLogger( LogContentFactory contentFactory, LogHeaderFactory headerFactory) : base(headerFactory, contentFactory) { }
/// <summary> /// Initializes a new instance of the <see cref="ResponseLogger"/> class. /// </summary> /// <param name="contentFactory">Request content value factory.</param> /// <param name="headerFactory">Request header value factory.</param> public ResponseLogger( LogContentFactory contentFactory, LogHeaderFactory headerFactory) : base(headerFactory, contentFactory) { }