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 details)

Uploaded Source

File details

Details for the file pyloggers-1.0.tar.gz.

File metadata

  • Download URL: pyloggers-1.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for pyloggers-1.0.tar.gz
Algorithm Hash digest
SHA256 6ed07cda692f358cb658f2d77508cf668992274e2ef593da4df31e3ad2084f5e
MD5 221a46a5cdd2669ea4890cb92fbc8f47
BLAKE2b-256 705baf3f54e58dc16ef15df38d255897cc9d2a6dd80e72b45a273c947052d00b

See more details on using hashes here.

Supported by

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