Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mitsuhiko/twitterlog
A Python log handler that logs to Twitter
https://github.com/mitsuhiko/twitterlog
Last synced: 3 months ago
JSON representation
A Python log handler that logs to Twitter
- Host: GitHub
- URL: https://github.com/mitsuhiko/twitterlog
- Owner: mitsuhiko
- License: other
- Created: 2010-06-15T00:56:49.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-06-15T01:00:42.000Z (over 14 years ago)
- Last Synced: 2024-09-10T12:45:35.841Z (4 months ago)
- Language: Python
- Homepage: http://dev.pocoo.org/
- Size: 92.8 KB
- Stars: 15
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
TwitterLog
``````````Implements a log handler that can log to a Twitter stream.
Usage:
import logging
from twitterlog import TwitterHandlertwitter = TwitterHandler('username', 'password')
twitter.setLevel(logging.ERROR)
logger = logging.getLogger('yourlogger')
logger.addHandler(twitter)