A Simple logging decorator for Flask applications
Usage
Simply import the trace decorator and apply it to any function you want to log.
from flask_trace import trace
@trace
def my_awesome_function(arg1, arg2):
pass
Now, any call to the my_awesome_function will be logged like this:
TRACE: trace_uuid=44f64962-3468-4273-bcd7-1c2067faacdf func_name=my_awesome_function arg1=1 arg2=2
Metadata
Release files for flask_trace 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flask_trace-0.0.4.tar.gz | 2.8 kB | Without provenance | Details for flask_trace-0.0.4.tar.gz |
Release files / flask_trace-0.0.4.tar.gz
| Download URL | flask_trace-0.0.4.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a77cc5025e0f429dd63cc29ff136badc450b385417e80572928651a8084a4f36
|
|
BLAKE2b-256 checksum How to use checksums |
78ebfd4c8c8fd8a4ce0ee31f241a1d99bbb4ad25858abb1154b92137d217a3a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for flask_trace 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.