API Reference
- class mailinglogger.common.SubjectFormatter(fmt=None, datefmt=None)
Bases:
FormatterThis is a logging formatter tailored to formatting log messages to appear in the subject line of an email. For details of how these differ from normal
Formatterobjects, see the SubjectFormatter documentation.Note
You should not need to manually instantiate this class as this will be done by either
MailingLoggerorSummarisingLoggerwhen the subject parameter to their constructors is processed.
- class mailinglogger.common.HTMLFilter
This is a logging filter that quotes logged messages such that they are safe for use in HTML emails. For an example usage, see Sending HTML Emails.