PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Adapters.​Asp­Net­Framework Namespace / Post­Sharp­Logging­Http­Module Class / Post­Sharp­Logging­Http­Module Properties / Post­Sharp­Logging­Http­Module.​Request­Filter Property

PostSharpLoggingHttpModule.RequestFilter Property

Gets or sets a predicate that determines whether a specific request should be logged. The default implementation filters out the following paths: /js, /css, /lib, /scripts, /content, /favicon.

Namespace:  PostSharp.Patterns.Diagnostics.Adapters.AspNetFramework
Assembly:  PostSharp.Patterns.Diagnostics.Adapters.AspNetFramework (in PostSharp.Patterns.Diagnostics.Adapters.AspNetFramework.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public static Predicate<Uri> RequestFilter { get; set; }

Property Value

Type: Predicate<Uri>
See Also