 | LoggingRuleLoggerNamePattern Property |
Gets or sets logger name pattern.
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntaxpublic 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:
String
Remarks
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