Metadata-Version: 2.1
Name: gytrash
Version: 0.0.2
Summary: Useful things for Logging.
Home-page: http://github.com/trejas/gytrash
Author: Trey Hatch
Author-email: trey@newmathdata.com
License: Apache 2.0
Project-URL: Source, https://github.com/trejas/gytrash
Description: `pip install gytrash`
        
        ## Set Slack Environment Variables
        `export SLACK_BOT_TOKEN="<BOT TOKEN>"`
        
        
        ## Import Gytrash and setup logger
        ```
        import gytrash
        import logging
        log = logging.getLogger("slack_example")
        
        gytrash.setup_logging(log, log_level=10, log_from_botocore=False, log_to_slack=True, slack_log_channel="<LOG NAME>", slack_log_level=20)
        
        log.info("Test info message")
        log.debug("Test debug message")
        ```
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.7
Description-Content-Type: text/markdown
