Metadata-Version: 1.0
Name: td-logger
Version: 0.4.1.1
Summary: UNKNOWN
Home-page: https://github.com/treasure-data/td-logger-python
Author: Kazuki Ohta
Author-email: k@treasure-data.com
License: MIT
Download-URL: http://pypi.python.org/pypi/td-logger/
Description: td-loger: logging library for Treasure Data Cloud
        =================================================
        
        Setup
        -----
        
        Before using this logging handler, td-agent must be properly configured. Please
        confirm these settings are in your /etc/td-agent/td-agent.conf.
        
        ## built-in TCP input
        <source>
        type tcp
        </source>
        
        # Treasure Data output
        # match events whose tag is td.DATABASE.TABLE
        <match td.*.*>
        type tdlog
        apikey YOUR_API_KEY
        </match>
        
        Usage
        -----
        
        Check out the tests folder for more samples.
        
        import logging
        from tdlog import logger
        
        logging.basicConfig(level=logging.INFO)
        l = logging.getLogger('td_logger.test')
        l.addHandler(logger.TreasureDataHandler())
        
        l.info('Some message')
        js = { "semicolon" : ";", "at" : "@" }
        l.info(js)
        
        Have fun!
        
        Special Thanks
        --------------
        
        - [Joshua Kuntz](https://github.com/j3kuntz) for the original work
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
