a13n Logging
a13n-logging is the shared logging library for Agent Foundation. The distribution is a13n-logging; the import package is a13n_logging. It requires Python 3.13 and uses standard logging plus Rich.
Use it
from a13n_logging import LogFormat, configure_logging, get_logger
configure_logging(
log_format=LogFormat.json,
logger_names=("my_application",),
context={"service": "example"},
)
get_logger("my_application.tasks").info("ready", extra={"task_id": "task-example"})
Configure once at the executable boundary. Libraries only create namespaced loggers. JSON goes to stdout; LogFormat.pretty selects Rich terminal rendering. No logger namespace or root logger is configured by default, and this package does not redact secret values or store/rotate log files.
The Logging guide documents all seven exports, configuration defaults, field precedence, exception behavior, output ownership, and customization.
Validate
uv run --locked pytest packages/a13n-logging/tests
Release boundary
a13n-logging publishes independently through release/a13n-logging-v<version>. Service and Harness releases consume it but do not republish it. See the repository release model.
Metadata
Release files for a13n-logging 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| a13n_logging-0.1.1.tar.gz | 9.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| a13n_logging-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.4 kB
Release files / a13n_logging-0.1.1.tar.gz
| Download URL | a13n_logging-0.1.1.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
edb38854e257f9f31daf6168cbe205c721c542ba20c1322118f7e3be784e4807
|
|
BLAKE2b-256 checksum How to use checksums |
234cb97a5bbec6a1c4736e970f6d7d651ac38e5b47c427b6835f77f6f11cb112
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","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 / a13n_logging-0.1.1-py3-none-any.whl
| Download URL | a13n_logging-0.1.1-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4682d7d0d5c5dbfbba22c29d62e37db80342710efeceb5d71558599f4336a7ac
|
|
BLAKE2b-256 checksum How to use checksums |
f0510ec5789b20ff55d4faae41a3ed7a7f33da5098a954fed2fef4bef4e6599c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","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}
|