| LoggerProperties Property |
Collection of context properties for the Logger. The logger will append it for all log events
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public IDictionary<string, Object> Properties { get; }
Public ReadOnly Property Properties As IDictionary(Of String, Object)
Get
Dim instance As Logger
Dim value As IDictionary(Of String, Object)
value = instance.Properties
member Properties : IDictionary<string, Object> with get
Property Value
Type:
IDictionaryString,
ObjectRemarks
It is recommended to use
WithProperty(String, Object) for modifying context properties
when same named logger is used at multiple locations or shared by different thread contexts.
See Also