←Select platform
In This Topic ▼

FileLoggingChannel Class Members

Summary

The following tables list the members exposed by FileLoggingChannel.

Public Constructors

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

Public Methods

Name Description
Public Method Close Closes this log file.
Public Method Dispose Releases unmanaged resources and will optionally release managed resources
Public Method Flush Clears all buffers for the file stream and causes any buffered data to be written to the file system.
Public Method Format Formats the specified log entry. (Inherited from LoggingChannel)
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.

Public Properties

Name Description
Public Property Enabled Gets or sets a value indicating whether this Leadtools.Logging.ILoggingChannel is enabled. (Inherited from LoggingChannel)
Public Property Filename Gets or sets the filename to write the log to.

Protected Fields

Name Description
Protected Field FileStreamWriter The file stream for this logging channel.

See Also

Reference

FileLoggingChannel Class

Leadtools.Logging Namespace

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

Leadtools.Logging Assembly

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