class documentation

class AdminEmailHandler(logging.Handler): (source)

View In Hierarchy

An exception log handler that emails log entries to site admins. If the request is passed as the first argument to the log record, request data will be provided in the email report.

Method __init__ Undocumented
Method connection Undocumented
Method emit Undocumented
Method format_subject Escape CR and LF characters.
Method send_mail Undocumented
Instance Variable email_backend Undocumented
Instance Variable include_html Undocumented
Instance Variable reporter_class Undocumented
def __init__(self, include_html=False, email_backend=None, reporter_class=None): (source)

Undocumented

def connection(self): (source)

Undocumented

def emit(self, record): (source)

Undocumented

def format_subject(self, subject): (source)

Escape CR and LF characters.

def send_mail(self, subject, message, *args, **kwargs): (source)

Undocumented

email_backend = (source)

Undocumented

include_html = (source)

Undocumented

reporter_class = (source)

Undocumented