Ejemplo n.º 1
0
 public RequestLoggerMiddleware_remove(RequestDelegate next, RequestLoggerOptions options, ILoggerFactory loggerFactory, IRequestSave requestSave)
 {
     _next        = next;
     _options     = options;
     _logger      = loggerFactory.CreateLogger <RequestLoggerMiddleware_remove>();
     _requestSave = requestSave;
 }
Ejemplo n.º 2
0
 public static IApplicationBuilder UseRequestLogger(this IApplicationBuilder builder, RequestLoggerOptions options)
 {
     return(builder.UseMiddleware <RequestLoggerMiddleware_remove>(options));
 }