Skip to main content

A logging handler class which sends an email using exim

Project description

eximhandler

A simple logging handler class which sends an email using exim.

Available on PyPI for install:

pip install eximhandler

Usage

import logging
from eximhandler import EximHandler

exim_handler = EximHandler('me@mydomain.com', 'Hello world')
exim_handler.setLevel(logging.ERROR)

logger = logging.getLogger()
logger.addHandler(exim_handler)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

EximHandler-1.1.0.tar.gz (1.8 kB view hashes)

Uploaded source

Built Distribution

EximHandler-1.1.0-py3-none-any.whl (3.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page