| LoggingRule Constructor (String, Target) |
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public LoggingRule(
string loggerNamePattern,
Target target
)
Public Sub New (
loggerNamePattern As String,
target As Target
)
Dim loggerNamePattern As String
Dim target As Target
Dim instance As New LoggingRule(loggerNamePattern,
target)
new :
loggerNamePattern : string *
target : Target -> LoggingRule
Parameters
- loggerNamePattern
- Type: SystemString
Logger name pattern used for LoggerNamePattern. It may include one or more '*' or '?' wildcards at any position. - target
- Type: NLog.TargetsTarget
Target to be written to when the rule matches.
See Also