Click or drag to resize

LoggingRuleLoggerNamePattern Property

Gets or sets logger name pattern.

Namespace:  NLog.Config
Assembly:  NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax
public string LoggerNamePattern { 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