Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/Shared/LayoutRenderers/AspNetRequestUrlRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
using NLog.Web.Internal;
using NLog.Common;
using NLog.Web.Enums;
using NLog.Config;

#if ASP_NET_CORE
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
Expand Down Expand Up @@ -34,6 +36,7 @@ public class AspNetRequestUrlRenderer : AspNetLayoutRendererBase
/// A flags enumeration that controls which of the five portions of the URL are logged.
/// Defaults to scheme://host/path, port and query string are by default not logged.
/// </summary>
[DefaultParameter]
public AspNetRequestUrlProperty Properties { get; set; } = AspNetRequestUrlProperty.Default;

/// <summary>
Expand Down