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



path
The path of the file to write the log.
append
If set to true append to the file, otherwise overwrite the file.
Initializes a new instance of the RollingFileLoggingChannel 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 RollingFileLoggingChannel(path, append)
C# 
public RollingFileLoggingChannel( 
   string path,
   bool append
)
C++/CLI 
public:
RollingFileLoggingChannel( 
   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 overwrite the file.

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