Ejemplo n.º 1
0
        public async Task Invoke(HttpContext context)
        {
            var logger = new InternalLogger(_log, context);

            logger.LogRequestStarting();

            await _next(context);

            logger.LogRequestEnding();
        }