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 | RSS feed
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)
Built Distribution
Close
Hashes for EximHandler-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f16ad588911745539704ef0578c7772dc6b3c5e868567d90f3bf1f8fe7bc26d6 |
|
MD5 | 75efe201e57b99f20c1ae0e16be4f1b6 |
|
BLAKE2b-256 | df5b5b0216b49c1b4bba4bd918253e4003743a9c8e353d5a72b81709dcbd6b25 |