Menu

Email notification of errors

Steven Bey

Email notification of errors

It is often desirable to receive email notifications of errors logged by ELFAR, which can be achieved by passing an IErrorLogMail object to the ErrorLogFilter constructor. For example:

new ErrorLogFilter(provider, mail: new ErrorLogMail("elfar@example.com"))

ELFAR has an out-of-the-box ErrorLogMail class but you can pass in your own email notification object by implementing the [IErrorLogMail] interface.


Related

Wiki: Home
Wiki: IErrorLogMail

MongoDB Logo MongoDB