A contextual logging framework for Python
Project description
Context Logger
A Python package that provides a contextual logging framework, enabling you to log detailed function names, line numbers, local variables, and custom context information. This helps you understand what happened in your program by enriching your logs with useful context.
Features
- Capture function names, line numbers, and local variables in logs.
- Easily integrate into your existing code with decorators.
- Log exceptions with full stack traces and context.
- Customizable logging with support for additional context like user/session IDs.
Installation
To install the package, use:
pip install context-log-python
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
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 context_log_python-0.1.1.tar.gz.
File metadata
- Download URL: context_log_python-0.1.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56b4fd152b636312602919b2cfbfcadfe0c7aab9038789560b3fec02a110479f
|
|
| MD5 |
933cea3f9d7fb4640219199f002a334d
|
|
| BLAKE2b-256 |
7fee6e809485064e993ee4c241d51fb1fafecce8535fc6c2ffdff024d49676f8
|
File details
Details for the file context_log_python-0.1.1-py3-none-any.whl.
File metadata
- Download URL: context_log_python-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26dbebb93dcdfbcd798d286bbbb1336f0097972b19d7c439f7155ed869e99bd6
|
|
| MD5 |
9e7c6728fdd4f6db29346c93c0c4a87b
|
|
| BLAKE2b-256 |
5dada768cf43c5fd74d2bdf38bbc9a26709430258e84ce41ee73f57308bd985c
|