| LoggingRuleLoggerNamePattern Property |
Gets or sets logger name pattern.
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public string LoggerNamePattern { get; set; }
Public Property LoggerNamePattern As String
Get
Set
Dim instance As LoggingRule
Dim value As String
value = instance.LoggerNamePattern
instance.LoggerNamePattern = value
member LoggerNamePattern : string with get, set
Property Value
Type:
StringRemarks
Logger name pattern used by
NameMatches(String) to check if a logger name matches this rule.
It may include one or more '*' or '?' wildcards at any position.
- '*' means zero or more occurrences of any character
- '?' means exactly one occurrence of any character
See Also