MailBee.NET Objects 4.0

Logger Members

Logger overview

Public Instance Properties

DisableOnException Gets or sets whether the logging should be automatically disabled instead of throwing exception when logging error occurs.
Enabled Gets or sets whether the logging into a file or memory buffer is enabled.
FileEncoding Gets or sets Encoding to be used when writing into the log file.
Filename Gets or sets the log file name.
Format Gets or sets flags which specify formatting of log entries placed into the log.
HidePasswords Gets or sets whether the actual password data may appear in the log or not.
KeepLogFileOpen Gets or sets whether the log file must be kept open during MailBee session.
LogDnsQueryBody Gets or sets whether DNS MX lookup query binary data must be added into the log.
MaxSize Gets or sets the maximum allowed length (in characters) of the file or memory log.
MemoryLog Gets or sets whether the logging must be performed into a log file or into a memory buffer.
OldFilename Gets or sets the name of a backup file the log must be renamed into when its size exceeds the maximum allowed limit.
SyncRoot Gets or sets the object to be used for synchronized access to the log file.

Public Instance Methods

Clear Clears the log contents if logging is enabled.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetMemoryLog Returns the string containing the memory log contents.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.
WriteLine Adds a new log entry containing user-defined message into the log.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Logger Class | MailBee Namespace