| ConsoleWordHighlightingRule Constructor (String, ConsoleOutputColor, ConsoleOutputColor) |
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public ConsoleWordHighlightingRule(
string text,
ConsoleOutputColor foregroundColor,
ConsoleOutputColor backgroundColor
)
Public Sub New (
text As String,
foregroundColor As ConsoleOutputColor,
backgroundColor As ConsoleOutputColor
)
Dim text As String
Dim foregroundColor As ConsoleOutputColor
Dim backgroundColor As ConsoleOutputColor
Dim instance As New ConsoleWordHighlightingRule(text, foregroundColor,
backgroundColor)
new :
text : string *
foregroundColor : ConsoleOutputColor *
backgroundColor : ConsoleOutputColor -> ConsoleWordHighlightingRule
Parameters
- text
- Type: SystemString
The text to be matched.. - foregroundColor
- Type: NLog.TargetsConsoleOutputColor
Color of the foreground. - backgroundColor
- Type: NLog.TargetsConsoleOutputColor
Color of the background.
See Also