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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file EximHandler-1.1.0.tar.gz.

File metadata

  • Download URL: EximHandler-1.1.0.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for EximHandler-1.1.0.tar.gz
Algorithm Hash digest
SHA256 3ee7675db7378f8f916520b05ebf04a816b97f9b5db5658664059a580ab015ae
MD5 e74afed0c8895adfb7aafa50ab45738f
BLAKE2b-256 75832d8094b82a4dc7d2050fd002fdbe97e50a5e79d904d2eced182c1cae2e88

See more details on using hashes here.

File details

Details for the file EximHandler-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: EximHandler-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for EximHandler-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f16ad588911745539704ef0578c7772dc6b3c5e868567d90f3bf1f8fe7bc26d6
MD5 75efe201e57b99f20c1ae0e16be4f1b6
BLAKE2b-256 df5b5b0216b49c1b4bba4bd918253e4003743a9c8e353d5a72b81709dcbd6b25

See more details on using hashes here.

Supported by

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