 | NetworkTarget Constructor (String) |
Namespace:
NLog.Targets
Assembly:
NLog.Targets.Network (in NLog.Targets.Network.dll) Version: 6.0.0+be83582280f7a841b0d3c6ae75b4f95aaf07e914
Syntaxpublic NetworkTarget(
string name
)
Public Sub New (
name As String
)
Dim name As String
Dim instance As New NetworkTarget(name)
new :
name : string -> NetworkTarget
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