Log Class |
Namespace: Limilabs.FTP
The Log type exposes the following members.
Name | Description | |
---|---|---|
Enabled |
Gets or sets a value indicating whether logging is enabled or disabled.
You can observe the log on standard VS output -or- subscribe to WriteLine event -or- use application's config file to turn on logging and add your own listeners.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
<configuration><system.diagnostics><trace autoflush="true" /><switches><add name="Ftp.dll" value="Verbose" /></switches><sources><source name="Ftp.dll"><listeners><add name="FtpLogFile" /></listeners></source></sources><sharedListeners><add name="FtpLogFile" type="System.Diagnostics.TextWriterTraceListener" initializeData="c:\ftp.log" /></sharedListeners></system.diagnostics></configuration>