Usage example, assumes gmail.com account.
from xmpp_logging_handler import XMPPHandler
import logging
logger = logging.getLogger()
myHandler = XMPPHandler('SENDING_USER', 'SENDING_PASSWORD', ['raymond@thisislevelup.com',],)
logger.addHandler(myHandler)
logging.error('Its broken')
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file xmpp_logging_handler-1.0.2.tar.gz.
File metadata
- Download URL: xmpp_logging_handler-1.0.2.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d11638681dc90cc63629de7667a56b34e7e38f7a8071714c545449f121ff1dd
|
|
| MD5 |
e296b6cf7e2f9e60797d17571aeb69a3
|
|
| BLAKE2b-256 |
3f1ec122989bdf7846052d42ae6977e9d30e91e84b7a42960129934663c0dea2
|