Click or drag to resize

LoggingRuleLoggerNamePattern Property

Gets or sets logger name pattern.

Namespace:  NLog.Config
Assembly:  NLog (in NLog.dll) Version: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
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