Metadata-Version: 1.1
Name: eventlet-log
Version: 0.0.4
Summary: Damn simple logging wrapper compatible with eventlet.
Home-page: https://github.com/little-arhat/eventlet_log
Author: Roma Sokolov
Author-email: sokolov.r.v@gmail.com
License: MIT
Description: Eventlet_log -- Damn simple logger
        ==================================
        
        About
        -----
        
        Simple wrapper around logging module compatible with eventlet.
        
        API
        ---
        
        ``create_logger`` function takes logger name and optional format and level arguments and return (log, log_exc, logger) tuple.
        
        ``log`` is just logger.info -- prints given message with INFO level.
        
        ``log_exc`` calls logger.exception and prints given message along with stacktrace.
        
        ``logger`` is instance of logging.Logger class.
        
        Usage
        -----
        
        ::
        
            from eventlet_log import create_logger
            (log, log_exc, _) = create_logger('younameit')
        
            log('Hello world')
        
            try:
                1/0
            except ZeroDivisionError:
                log_exc('Smth happens')
        
        
        Install
        -------
        
        ~/yourvirtualenv/python setup.py install
        
        pip install eventlet_log
        
        License
        -------
        
        The MIT License, in LICENSE file.
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
