| FileTarget Constructor (String) |
Initializes a new instance of the
FileTarget class.
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public FileTarget(
string name
)
Public Sub New (
name As String
)
Dim name As String
Dim instance As New FileTarget(name)
new :
name : string -> FileTarget
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