Python debug logging helpers
Project description
debug_this
Python debug logging helpers
@debug_this.function
This decorator can be used to log the execution of a function.
import debug_this
@debug_this.function
def example_function():
print("This is example_function")
example_function()
The resulting logs should look like this:
DEBUG:debug_this.function: >>> example_function
This is example_function
DEBUG:debug_this.function: <<< example_function
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
debug_this-0.1.0.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for debug_this-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2819439db7f930f8128a9bdac272a8d7a8a598f0cf2c83454a5c1f8c3ed82f9 |
|
MD5 | aee6626770f989b99ea3dc4e6e1083bd |
|
BLAKE2b-256 | 399e3d3566a54ca1db9b01d763c7ee7bc46fbddd46d52e37fc6aa7cb8002bc75 |