Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal path As String, _ ByVal append As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim path As String Dim append As Boolean Dim instance As New FileLoggingChannel(path, append) |
Parameters
- path
- The path of the file to write the log.
- append
- If set to true append to the file, otherwise, overwrites the file if it exists.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7