| NLogProviderOptionsCaptureMessageProperties Property |
Enable capture of properties from the ILogger-State-object, both in Log``1(LogLevel, EventId, UMP, Exception, FuncUMP, Exception, String) and BeginScope``1(UMP)
Namespace:
NLog.Extensions.Logging
Assembly:
NLog.Extensions.Logging (in NLog.Extensions.Logging.dll) Version: 5.3.13+9106fa3b6a3bdf3fbae3d40dbd52b6c23eb3b9f3
Syntax public bool CaptureMessageProperties { get; set; }
Public Property CaptureMessageProperties As Boolean
Get
Set
Dim instance As NLogProviderOptions
Dim value As Boolean
value = instance.CaptureMessageProperties
instance.CaptureMessageProperties = value
member CaptureMessageProperties : bool with get, set
Property Value
Type:
BooleanSee Also