![]() | ConsoleWordHighlightingRule Class |
Namespace: NLog.Targets
The ConsoleWordHighlightingRule type exposes the following members.
Name | Description | |
---|---|---|
![]() | ConsoleWordHighlightingRule |
Initializes a new instance of the ConsoleWordHighlightingRule class.
|
![]() | ConsoleWordHighlightingRule(String, ConsoleOutputColor, ConsoleOutputColor) |
Initializes a new instance of the ConsoleWordHighlightingRule class.
|
Name | Description | |
---|---|---|
![]() | BackgroundColor |
Gets or sets the background color.
|
![]() | CompiledRegex |
Gets the compiled regular expression that matches either Text or Regex property. Only used when CompileRegex is true.
|
![]() | CompileRegex |
Compile the Regex? This can improve the performance, but at the costs of more memory usage. If false, the Regex Cache is used.
|
![]() | Condition |
Gets or sets the condition that must be met before scanning the row for highlight of words
|
![]() | ForegroundColor |
Gets or sets the foreground color.
|
![]() | IgnoreCase |
Gets or sets a value indicating whether to ignore case when comparing texts.
|
![]() | Regex |
Gets or sets the regular expression to be matched. You must specify either text or regex.
|
![]() | Text |
Gets or sets the text to be matched. You must specify either text or regex.
|
![]() | WholeWords |
Gets or sets a value indicating whether to match whole words only.
|