Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

albeorla_logging-0.1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

albeorla_logging-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

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

Hashes for albeorla_logging-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c8c79699efcb43c99fbec7faab55a3a651d396f5670114d7e5e3f1e8b707d53a
MD5 728a383c569ee9cf89ff0363b5451ac8
BLAKE2b-256 ed9ca12eb6205debf31cf4f305eb20357102acb4fdb2cb0923750000f3670c34

See more details on using hashes here.

File details

Details for the file albeorla_logging-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for albeorla_logging-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2cfa5000c9da1d5f4ebfef1932791e9b9503b840484f216cffa25d6d9d49c6d0
MD5 c670f2089932ef1693f065380a4d3898
BLAKE2b-256 8d1252b32dcb2da5539a4da105553e93e622c98fddca9cf0b7b76adf0d96c31a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page