Metadata-Version: 1.1
Name: spylogger
Version: 0.0.2
Summary: Python logging library
Home-page: https://github.com/SPSCommerce/spylogger
Author: meganlkm
Author-email: mwood@spscommerce.com
License: UNKNOWN
Description: # spylogger
        
        Generic python logging library.
        
        * [Installation](#installation)
        * [Usage](#usage)
        * [Authors](#authors)
        
        
        ---
        
        <a name="installation" id="installation"></a>
        
        ## Installation
        
        ```bash
        pip install -e git+git@github.com:SPSCommerce/spylogger.git#egg=spylogger
        ```
        
        ---
        
        <a name="usage" id="usage"></a>
        
        ## Usage
        
        ```python
        from spylogger import get_logger
        logger = get_logger()
        logger.info({'string': 'test Pretty info message.', 'int': 42, 'bool': True})
        ```
        
        ### Documentation
        
        #### Environment Variables:
        
        ##### `SPY_LOG_LOGGER`
        
        The configured logger name. Available loggers:
        
        * json-flat (Default)
        * json
        * ugly
        
        
        ##### `SPY_LOG_LEVEL`
        
        The python log level. See the [docs](https://docs.python.org/2/howto/logging.html#logging-levels)
        
        
        ```python
        get_logger(name=SPY_LOG_LOGGER, log_level=SPY_LOG_LEVEL)
        ```
        
        ---
        
        <a name="authors" id="authors"></a>
        
        ## Authors
        
        See contributors section on GitHub.
        
Keywords: logging
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: System :: Logging
