 | ConsoleTarget Constructor (String) |
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic ConsoleTarget(
string name
)
Public Sub New (
name As String
)
Dim name As String
Dim instance As New ConsoleTarget(name)
new :
name : string -> ConsoleTarget
Parameters
- name
- Type: SystemString
Name of the target.
Remarks
The default value of the layout is:
1${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
See Also