Configuration generator for builtin logging module.
Project description
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()
)
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
wcpan_logging-2.1.0.tar.gz
(3.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wcpan_logging-2.1.0.tar.gz.
File metadata
- Download URL: wcpan_logging-2.1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.2 Linux/5.15.133.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfbffb17fbbc7318c1a9e004e9d8e32a1d7760d0512fab1cc86c4008bb8dd511
|
|
| MD5 |
6d5aa277466c6bb4e6115514286d3c87
|
|
| BLAKE2b-256 |
9a5aa39fab2964b5df24a620a2f0449617e4133f43b388496e7daa46812d976e
|
File details
Details for the file wcpan_logging-2.1.0-py3-none-any.whl.
File metadata
- Download URL: wcpan_logging-2.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.2 Linux/5.15.133.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7f22dc2c7324e9beef9543c8777aa03e40bb0c17863378551af121205738ae9
|
|
| MD5 |
a07307cc7c333934cedba5a9c0baaf40
|
|
| BLAKE2b-256 |
865e3ec79953563ba696b9e98ce639a29e498e9b7a7b1b67c92cec2d69cef42d
|