Log Class |
Namespace: Limilabs.Mail
The Log type exposes the following members.
Name | Description | |
---|---|---|
DataCutOffLength |
Gets or sets the maximum amount of bytes to be logged when logging single data command for IMAP and SMTP.
MaxValue is default.
| |
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="Mail.dll" value="Verbose" /></switches><sources><source name="Mail.dll"><listeners><add name="MailLogFile" /></listeners></source></sources><sharedListeners><add name="MailLogFile" type="System.Diagnostics.TextWriterTraceListener" initializeData="c:\mail.log" /></sharedListeners></system.diagnostics></configuration>