-
Notifications
You must be signed in to change notification settings - Fork 1.4k
AspNet Request Tracking Consent Layout Renderer
Rolf Kristensen edited this page Jul 24, 2022
·
3 revisions
ASP.NET Tracking Consent
Platforms Supported: Limited (Only supported in Asp.NetCore)
Introduced with NLog.Web.AspNetCore v5.1.0
${aspnet-request-tracking-consent:property=CanTrack}
-
Property - Enum Values:
-
CanTrack - Indicates either if consent has been given (
1
), or if consent is not required (0
) - HasConsent - Indicates if consent was given.
- IsConsentNeeded - Indicates if consent is required for the given request.
-
CanTrack - Indicates either if consent has been given (
- Troubleshooting Guide - See available NLog Targets and Layouts: https://nlog-project.org/config
- Getting started
- How to use structured logging
- Troubleshooting
- FAQ
- Articles about NLog
-
All targets, layouts and layout renderers
Popular: - Using NLog with NLog.config
- Using NLog with appsettings.json