 | 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: 6.0.0+b2556d03163fe4c7b4484f0ca757e7ee6f8c5e4e
Syntaxpublic 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:
Boolean
See Also