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
Close
Hashes for autowrapt_logger-1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4bc16c1e7d74f5287599aa808b0bd6626173963be3937b35795f8a2b3d2e384 |
|
MD5 | f1759e4449a47dc8d1d4a6c6c9e267be |
|
BLAKE2b-256 | ba786371e00baca47151b78184c6a4d313f38691c05654de8f1b803002bc09c8 |