Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

logconf-dsl

A DSL for configuration of Python’s logging module.

Installation

From PyPI with pip:

pip install logconf-dsl

directly from git, with pip.

pip install -e git+git@github.com:joar/logconf.git

Usage

import logconf
from logconf.dsl import Logger, Handler

logconf.configure(
    handlers=Handler('default',
                     'logging.StreamHandler',
                     level='DEBUG'),
    root=Logger(level='ERROR',
                handlers=['default']),
    loggers=[
        Logger('foo',
               'DEBUG',
               handlers=['default'])
    ]
)

Metadata

Release files for logconf-dsl 1.0b2

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

Source distribution (sdist)

Source distribution for logconf-dsl 1.0b2
File Size Uploaded Provenance Actions
logconf-dsl-1.0b2.tar.gz 395.5 kB Without provenance Details for logconf-dsl-1.0b2.tar.gz

Release files / logconf-dsl-1.0b2.tar.gz

Download URL logconf-dsl-1.0b2.tar.gz
Size 395.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b8cb5cb73213c53c2c5b804c75f540fd21d41f58e1ef5cb65f57fea979b4062c
BLAKE2b-256 checksum
How to use checksums
9aec55e5eec2afd91d66d3b777f2bc3c5b69ecdb0e3c86e30f790eb218b3844d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for logconf-dsl 1.0b2

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.

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