Skip to main content

loggers for Python2&3

Project description

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

Usage

  1. pip install pyloggers

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyloggers-1.0.tar.gz (2.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page