Skip to main content

procaaso-log

Simple logging library for use with ConSynSys Procaaso ENS, etc. tasks

Usage

  1. Configure the logging backend at the root package within the __init__.py file. Enable all desired module loggers.
import procaaso_log
procaaso_log.standard_config("app.foo", "lib.bar.baz")
  1. Create a logger for each python file.
from procaaso_log import get_logger
logger = get_logger(__name__)
  1. Emit logs.
logger.info("something happened!")
# -> {"event":"incoming!", ...}
logger.info("incoming!", extra="single log context")
# -> {"event":"incoming!","extra"="single log context", ...}
  1. Create a contextual logger.
look_logger = logger.bind(look="over there")
look_logger.info(
# -> {"event":"incoming!","extra"="single log context"}

Metadata

Release files for procaaso-log 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for procaaso-log 0.3.3
File Size Uploaded Provenance Actions
procaaso_log-0.3.3.tar.gz 10.2 kB Without provenance Details for procaaso_log-0.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for procaaso-log 0.3.3
File Interpreter ABI Platform Actions
procaaso_log-0.3.3-py3-none-any.whl Python 3 none any Details for procaaso_log-0.3.3-py3-none-any.whl

Total release size: 26.0 kB

Release files / procaaso_log-0.3.3.tar.gz

Download URL procaaso_log-0.3.3.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d208aac859e63f173ca5de950896b2eae3695b6d8bcc2f97e89dd2c1c33f8cd0
BLAKE2b-256 checksum
How to use checksums
47ba825b2314a2845dc895bbc1f373fa9ec2f67b9a976d8393abbc838e97c994
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.11 Windows/10

Release files / procaaso_log-0.3.3-py3-none-any.whl

Download URL procaaso_log-0.3.3-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5fc571307e22b8394e6145c7a8aaa100c66b3b1033cac10aab47886a0244cd5
BLAKE2b-256 checksum
How to use checksums
23b5d977349a5c03d9c55edbdad883e088185d271a5bc4375d99e8c03a6dd723
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.11 Windows/10

Security for procaaso-log 0.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page