Click or drag to resize

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; }

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