Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

TwitterLog
``````````

Implements a log handler that can log to a Twitter stream.

Usage:

import logging
from twitterlog import TwitterHandler

twitter = TwitterHandler('username', 'password')
twitter.setLevel(logging.ERROR)
logger = logging.getLogger('yourlogger')
logger.addHandler(twitter)