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.
| |
| 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.
| |
| Text |
Gets or sets the text to be matched for Highlighting.
| |
| WholeWords |
Gets or sets a value indicating whether to match whole words only.
| |
| Words |
Gets or sets the list of words to be matched for Highlighting.
|
| Name | Description | |
|---|---|---|
| GetWordsForHighlighting |
Scans the haystack for words that should be highlighted.
|