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


Release history Release notifications

Download files

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

Files for EximHandler, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size EximHandler-1.1.0-py3-none-any.whl (3.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size EximHandler-1.1.0.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page