loggers for Python2&3
Project description
Python Loggers , Easy to use
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)
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.1.tar.gz
(2.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyloggers-0.1.tar.gz.
File metadata
- Download URL: pyloggers-0.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e13e0fa038a79e3d3e96fbd3f990d6fbfeb7a5b86e61a7dfbd7ee756ca399c8b
|
|
| MD5 |
43ded2037426137ed6fa37ad1e18da4f
|
|
| BLAKE2b-256 |
89f0a640d54ce91b0e1bc7bdcc71c3cb6ffaf8e65c6ee7acd27d54877f9068a0
|
File details
Details for the file pyloggers-0.1-py3-none-any.whl.
File metadata
- Download URL: pyloggers-0.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d786781be48efb452badabad635e65d12cc9990c2fcbfb70b9ef861d17662b4c
|
|
| MD5 |
09d43be3996231a76854c555e26d2473
|
|
| BLAKE2b-256 |
2e0228bd8e2e02b9ad7ffdc4b270b23651010e0ad244646058910fe7d0f32406
|