logging by environment
Project description
autowrapt-logger
A Python module logging the elapsed time of methods to stdout. The methods can be specified with module:method env. Without modifying your application, you are able to activate this feature.
Installation
pip install autowrapt-logger
Usage
AUTOWRAPT_BOOTSTRAP=autowrapt_logger INSTRUMENT_LIST="worker:logic_a,worker:logic_b,worker:get_db_data,worker:job" python3 example.py
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file autowrapt_logger-1.6-py3-none-any.whl
.
File metadata
- Download URL: autowrapt_logger-1.6-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4bc16c1e7d74f5287599aa808b0bd6626173963be3937b35795f8a2b3d2e384 |
|
MD5 | f1759e4449a47dc8d1d4a6c6c9e267be |
|
BLAKE2b-256 | ba786371e00baca47151b78184c6a4d313f38691c05654de8f1b803002bc09c8 |