Metadata-Version: 1.1
Name: pyloggers
Version: 0.4
Summary: loggers for Python2&3
Home-page: https://github.com/hezhiming/pyloggers
Author: he.zhiming
Author-email: he.zhiming@foxmail.com
License: UNKNOWN
Description: **Python Loggers, Easy to use**

        

        loggers for Python, Easy to use, It's a handy tool.

        

        

        **Usage**

        

        1. pip install pyloggers

        2.

        

        .. code-block:: python

        

            from __future__ import (absolute_import, unicode_literals)

        

            from pyloggers import CONSOLE

        

        

        

            def func(a, b, c):

                CONSOLE.info("====func start . {}====".format(locals()))

                try:

                    raise ValueError("value error")

                except ValueError as e:

                    CONSOLE.exception(e)

        

        

            def test_a():

                CONSOLE.info("==== start ===")

                func(1, 1, 1)

                CONSOLE.info("==== end ==")

        

        

            def main():

                test_a()

                func(1, 1, 1)

        

        

        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
