public RequestLogPerformanceMiddleware(IOptions <RequestLogOptions> requestLogOptions, ISemanticLog log)
        {
            Guard.NotNull(requestLogOptions, nameof(requestLogOptions));
            Guard.NotNull(log, nameof(log));

            this.requestLogOptions = requestLogOptions.Value;

            this.log = log;
        }
Esempio n. 2
0
        public RequestLogPerformanceMiddleware(RequestDelegate next, IOptions <RequestLogOptions> requestLogOptions)
        {
            this.requestLogOptions = requestLogOptions.Value;

            this.next = next;
        }
        public RequestLogPerformanceMiddleware(IOptions <RequestLogOptions> options, ISemanticLog log)
        {
            this.options = options.Value;

            this.log = log;
        }