![]() | ConsoleWordHighlightingRuleRegex Class |
Namespace: NLog.Targets
The ConsoleWordHighlightingRuleRegex type exposes the following members.
Name | Description | |
---|---|---|
![]() | ConsoleWordHighlightingRuleRegex | Initializes a new instance of the ConsoleWordHighlightingRuleRegex class |
Name | Description | |
---|---|---|
![]() | BackgroundColor |
Gets or sets the background color.
(Inherited from ConsoleWordHighlightingRule.) |
![]() | CompileRegex |
Compile the Regex? This can improve the performance, but at the costs of more memory usage. If , the Regex Cache is used.
|
![]() | Condition |
Gets or sets the condition that must be met before scanning the row for highlight of words
(Inherited from ConsoleWordHighlightingRule.) |
![]() | ForegroundColor |
Gets or sets the foreground color.
(Inherited from ConsoleWordHighlightingRule.) |
![]() | IgnoreCase |
Gets or sets a value indicating whether to ignore case when comparing texts.
(Inherited from ConsoleWordHighlightingRule.) |
![]() | 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 for Highlighting.
(Inherited from ConsoleWordHighlightingRule.) |
![]() | WholeWords |
Gets or sets a value indicating whether to match whole words only.
(Inherited from ConsoleWordHighlightingRule.) |
![]() | Words |
Gets or sets the list of words to be matched for Highlighting.
(Inherited from ConsoleWordHighlightingRule.) |
Name | Description | |
---|---|---|
![]() | GetWordsForHighlighting |
Scans the haystack for words that should be highlighted.
(Overrides ConsoleWordHighlightingRuleGetWordsForHighlighting(String).) |