loggers for Python2&3
Project description
loggers for Python, Easy to use, It’s a handy tool.
Usage
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-0.5.tar.gz
(3.1 kB
view hashes)