Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (16 sloc) 507 Bytes
using Microsoft.AspNetCore.Http;
namespace TodoWebApp.Logging
{
/// <summary>
/// Handles the logic of logging <see cref="HttpContext"/> instances.
/// </summary>
public interface IHttpContextLoggingHandler
{
/// <summary>
/// Checks whether the given <paramref name="httpContext"/> should be logged or not.
/// </summary>
/// <param name="httpContext"></param>
/// <returns></returns>
bool ShouldLog(HttpContext httpContext);
}
}