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.

Files for pyloggers, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size pyloggers-1.0.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page