Skip to content

Pact Logging LoggingExtensions IsNoisyEndpoint(Microsoft AspNetCore Http HttpContext string )

welshronaldo edited this page May 30, 2022 · 6 revisions

LoggingExtensions.IsNoisyEndpoint(HttpContext, string[]) Method

Checks if the endpoint matches any of the provided patterns

private static bool IsNoisyEndpoint(Microsoft.AspNetCore.Http.HttpContext ctx, string[] patterns);

Parameters

ctx Microsoft.AspNetCore.Http.HttpContext

patterns System.String[]

Returns

System.Boolean

Clone this wiki locally