Gets or sets whether the logging should be automatically disabled instead of throwing exception when logging error occurs.
true if logging should be silently disabled when any logging error occurs; false if any logging error should cause an exception to be thrown. The default value is false.
Since logging exists primarily for debug purposes, it's possible to tell MailBee to ignore errors which occur in logging itself. When DisableOnException is true, the developer can still determine if logging error occurred by examining Enabled property value. If it's now false, the logging error occurred and the logging was disabled.
Logger Class | MailBee Namespace