Metadata-Version: 1.1
Name: spylogger
Version: 1.0.5
Summary: Python logging library
Home-page: https://github.com/SPSCommerce/spylogger
Author: meganlkm
Author-email: webapps@spscommerce.com
License: UNKNOWN
Description: spylogger
        =========
        
        Generic python logging library.
        
        
        Installation
        ============
        
        .. code-block:: python
        
           pip install spylogger
        
        Usage
        =====
        
        .. code-block:: python
        
           from spylogger import get_logger
           logger = get_logger()
           logger.info({'string': 'test Pretty info message.', 'int': 42, 'bool': True})
        
        
        **Environment Variables:**
        
        ``SPY_LOG_LOGGER``
        
        The configured logger name. Available loggers:
        
        * json-flat (Default)
        * json
        * json-src-key
        * ugly
        
        ``SPY_LOG_LEVEL``
        
        The python log level. See the docs_
        
        .. code-block:: python
        
           get_logger(name=SPY_LOG_LOGGER, log_level=SPY_LOG_LEVEL)
        
        ``SPY_JSON_LOG_KEYS``
        
        A list of log record keys to put in the ``__meta`` section of the log message.
        **Default**: ``threadName``, ``process``, ``args``, ``module``, ``levelname``, ``pathname``, ``lineno``, ``funcName``
        
        ``SPY_SHOW_META``
        
        Flag for showing the ``__meta`` output. **Default**: True
        
        Authors
        =======
        
        See contributors section on GitHub.
        
        .. _docs: https://docs.python.org/2/howto/logging.html#logging-levels
        
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
