process-logger
Structured process logger — a logging.LoggerAdapter that attaches contextual params
(process name, code, locale, db-operation, function name) to every record,
with optional QueueListener-based async logging.
Installation
pip install entirius-py-process-logger
Usage
from process_logger import ProcessLogger
log = ProcessLogger(process_name="import-orders", module="integrations")
log.add_log_param("order_id", 18)
log.info("Order created")
For async logging, initialise with use_queue=True and call log.start() / log.stop().
Development
make install # sync dependencies (uv)
make check # lint + format check (ruff)
make test # test suite (pytest)
Development and agent instructions: AGENTS.md.
License
Mozilla Public License 2.0 — see LICENSE.
Metadata
Release files for entirius-py-process-logger 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| entirius_py_process_logger-2.0.0.tar.gz | 22.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| entirius_py_process_logger-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.0 kB
Release files / entirius_py_process_logger-2.0.0.tar.gz
| Download URL | entirius_py_process_logger-2.0.0.tar.gz |
|---|---|
| Size | 22.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d7e3bc34fcbc91dba6a3ea3ab9580511ac3fb92d8112791c4aa3711cd0e1d82
|
|
BLAKE2b-256 checksum How to use checksums |
2d68d667565e31e10360b32345e779ef14d790da4cbfabb16d3894f3d128e105
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / entirius_py_process_logger-2.0.0-py3-none-any.whl
| Download URL | entirius_py_process_logger-2.0.0-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
faed514a4f0e8fcc1dc746f3b582e0a14642748c45eee63017b7ba52b67874c5
|
|
BLAKE2b-256 checksum How to use checksums |
d36517c85a60d808544f87a7009167d1def3a145235af901a1243e00bbf2e527
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|