Metadata-Version: 2.4
Name: albeorla-logging
Version: 0.1.0
Summary: Structured logging helpers for Python apps
Project-URL: Homepage, https://github.com/albeorla/albeorla-logging
Project-URL: Repository, https://github.com/albeorla/albeorla-logging
Author: albeorla
License-Expression: MIT
Keywords: json,logging,observability,structlog
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Typing :: Typed
Requires-Python: >=3.10
Requires-Dist: structlog>=24.1.0
Description-Content-Type: text/markdown

# albeorla-logging

Reusable `structlog` configuration for Python apps.

## Install

```bash
pip install albeorla-logging
```

Or from Git:

```bash
pip install "albeorla-logging @ git+ssh://git@github.com/albeorla/albeorla-logging.git@v0.1.0"
```

## Usage

```python
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)
```
