Metadata-Version: 1.0
Name: loglet
Version: 1.0
Summary: client library Loglet, the Web-based logging system
Home-page: http://loglet.radbox.org/
Author: Adrian Sampson
Author-email: adrian@radbox.org
License: UNKNOWN
Description: 
        Loglet
        ======
        
        Loglet_ is a tiny tool for keeping tabs on long-running processes.
        Send log messages to Loglet using a simple ``POST`` request and then view
        them in your browser or subscribe to an Atom feed.
        
        This Python package provides a small client library of Loglet.  You can
        creates a new loglet simply by this and send messages by using standard
        ``logging`` interface.  For example::
        
            import logging
            from loglet import LogletHandler
        
            logger = logging.getLogger(__name__)
            loglet = LogletHandler(mode='threading')
            logger.addHandler(loglet)
            logger.setLevel(logging.DEBUG)
        
            logger.info('hello')
            logger.error('something horrible has happened')
        
        If you have a loglet already, you can specify logid explicitly::
        
            loglet = LogletHandler('2LNbYgNEAaezJduj')
        
        There are 4 types of sync/async modes:
        
        ``'sync'`` (default)
           Simply sends all logs synchronously.  It can affect serious inefficiency
           to your application.
        
        ``'threading'``
           Sends all logs asynchronously by using standard ``threading`` module.
           Threads are rich and heavy to use for just input/output.
        
        ``'multiprocessing'``
           Sends all logs asynchronously by using standard ``multiprocessing`` module.
           It requires to use Python 2.6 or higher.  It forks for every message
           internally.
        
        ``'gevent'``
           Sends all logs asynchronously by greenlet (coroutine).  It requires
           to install gevent_.  Most efficient way though additional dependency is
           required.
        
        .. _Loglet: http://loglet.radbox.org/
        .. _gevent: http://gevent.org/
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.5
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 2 :: Only
Classifier: Topic :: System :: Logging
