Esempio n. 1
0
        public RequestChainMiddleware(RequestDelegate next, ILoggerFactory loggerFactory)
        {
            _next   = next;
            _logger = loggerFactory.CreateLogger <RequestChainMiddleware>();

            // Sets up static RequestId logger once
            RequestId.SetLogger(loggerFactory.CreateLogger <RequestId>());
        }