Skip to main content

wcpan.logging

A configuration generator for builtin logging module.

This module does not have any side effect, it is the user's choice to put it into logging.dictConfig.

import logging

from wcpan.logging import ConfigBuilder


logging.dictConfig(
    ConfigBuilder(path="/your/log", rotate=True)
    .add("moduleA", level="DEBUG")
    .add("moduleB", "moduleC", level="INFO")
    .to_dict()
)

Release files for wcpan-logging 2.1.0

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

Source distribution (sdist)

Source distribution for wcpan-logging 2.1.0
File Size Uploaded
wcpan_logging-2.1.0.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wcpan-logging 2.1.0
File Interpreter ABI Platform
wcpan_logging-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size:8.6 kB

Release files / wcpan_logging-2.1.0.tar.gz

Download URL wcpan_logging-2.1.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cfbffb17fbbc7318c1a9e004e9d8e32a1d7760d0512fab1cc86c4008bb8dd511
BLAKE2b-256 checksum
How to use checksums
9a5aa39fab2964b5df24a620a2f0449617e4133f43b388496e7daa46812d976e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.11.2 Linux/5.15.133.1-microsoft-standard-WSL2

Release files / wcpan_logging-2.1.0-py3-none-any.whl

Download URL wcpan_logging-2.1.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7f22dc2c7324e9beef9543c8777aa03e40bb0c17863378551af121205738ae9
BLAKE2b-256 checksum
How to use checksums
865e3ec79953563ba696b9e98ce639a29e498e9b7a7b1b67c92cec2d69cef42d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.11.2 Linux/5.15.133.1-microsoft-standard-WSL2

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

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