Structured logging helpers for Python apps
Project description
albeorla-logging
Reusable structlog configuration for Python apps.
Install
pip install albeorla-logging
Or from Git:
pip install "albeorla-logging @ git+ssh://git@github.com/albeorla/albeorla-logging.git@v0.1.0"
Usage
import logging
from albeorla_logging import configure_logging, get_logger
configure_logging(json_output=True, level=logging.INFO)
log = get_logger(__name__, component="api")
log.info("service_started", port=8080)
Project details
Release history Release notifications | RSS feed
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 albeorla_logging-0.1.0.tar.gz.
File metadata
- Download URL: albeorla_logging-0.1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8c79699efcb43c99fbec7faab55a3a651d396f5670114d7e5e3f1e8b707d53a
|
|
| MD5 |
728a383c569ee9cf89ff0363b5451ac8
|
|
| BLAKE2b-256 |
ed9ca12eb6205debf31cf4f305eb20357102acb4fdb2cb0923750000f3670c34
|
File details
Details for the file albeorla_logging-0.1.0-py3-none-any.whl.
File metadata
- Download URL: albeorla_logging-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2cfa5000c9da1d5f4ebfef1932791e9b9503b840484f216cffa25d6d9d49c6d0
|
|
| MD5 |
c670f2089932ef1693f065380a4d3898
|
|
| BLAKE2b-256 |
8d1252b32dcb2da5539a4da105553e93e622c98fddca9cf0b7b76adf0d96c31a
|