Click or drag to resize

Log Class

Represents Mail.dll log. Use Enabled property to turn on logging.
Inheritance Hierarchy
SystemObject
  Limilabs.MailLog

Namespace: Limilabs.Mail
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public class Log

The Log type exposes the following members.

Constructors
 NameDescription
Public methodLogInitializes a new instance of the Log class
Top
Properties
 NameDescription
Public propertyStatic memberDataCutOffLength Gets or sets the maximum amount of bytes to be logged when logging single data command for IMAP and SMTP. MaxValue is default.
Public propertyStatic memberEnabled 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.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventStatic memberWriteLine You can subscribe your logging library to this event.
Top
Remarks
You can use following xml in your configuration file to log to file:
See Also