LEADTOOLS (Leadtools.Logging assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
FileLoggingChannel Constructor(String,Boolean)
See Also 
Leadtools.Logging.LoggingChannel Namespace > FileLoggingChannel Class > FileLoggingChannel Constructor : FileLoggingChannel Constructor(String,Boolean)



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.
Initializes a new instance of the FileLoggingChannel class.

Syntax

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)
C# 
public FileLoggingChannel( 
   string path,
   bool append
)
C++/CLI 
public:
FileLoggingChannel( 
   String^ path,
   bool 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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Logging requires a Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features