←Select platform
In This Topic ▼

RollingFileLoggingChannel Class Members


The following tables list the members exposed by RollingFileLoggingChannel.

Public Constructors

Name Description
Public Constructor FileLoggingChannel Initializes a new instance of the FileLoggingChannel class. (Inherited from FileLoggingChannel)
Public Constructor RollingFileLoggingChannel Initializes a new instance of the RollingFileLoggingChannel class.

Public Methods

Name Description
Public Method Close Closes this log file. (Inherited from FileLoggingChannel)
Public Method Dispose Releases unmanaged resources and will optionally release managed resources (Inherited from FileLoggingChannel)
Public Method Flush Clears all buffers for the file stream and causes any buffered data to be written to the file system. (Inherited from FileLoggingChannel)
Public Method Format Formats the specified log entry.
Public Method WriteLog Writes the log to the specified file.

Protected Methods

Name Description
Protected Method Finalize Releases unmanaged resources and performs other cleanup operations before the FileLoggingChannel is reclaimed by garbage collection. (Inherited from FileLoggingChannel)

Public Properties

Name Description
Public Property Filename Gets or sets the filename to write the log to.
Public Property RollSize Gets or sets the maximum size of the file before a roll occurs.

Protected Fields

Name Description
Protected Field FileStreamWriter The file stream for this logging channel. (Inherited from FileLoggingChannel)

See Also


RollingFileLoggingChannel Class

Leadtools.Logging Namespace

Help Version 21.0.2021.3.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Logging Assembly