The pitch
Logging setup is one of those annoying things that one finds themselves relearning every time a new project is started.
setuplog attempts to centralize, and simplify the set of decisions one needs to make
when bootstrapping a project.
# app.py
from setuplog import setup_logging
setup_logging(
log_level='INFO',
namespace='project_name',
# opt into {}-style formatting!
style='format',
)
# elsewhere
from setuplog import log
log.info('Info!')
Installing
pip install "setuplog"
Release files for setuplog 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| setuplog-0.4.1.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| setuplog-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.8 kB
Release files / setuplog-0.4.1.tar.gz
| Download URL | setuplog-0.4.1.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
15a029c084fc8d860d1ca7ed16409ee2f3b9bbf1eca74061f3e036f2a8cb9063
|
|
BLAKE2b-256 checksum How to use checksums |
76239b9e09750b7602d01887cf9427b533d645f0e2d9dcec65723f046192133e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.9.17 Linux/5.15.0-1041-azure
|
Release files / setuplog-0.4.1-py3-none-any.whl
| Download URL | setuplog-0.4.1-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4426d2aa0f7b93bc64293ea8ff45e12b5bb94e4999b4f9065529eb9b39bc299e
|
|
BLAKE2b-256 checksum How to use checksums |
12eb3f52a5a28dd659b75cc6c5b9603385e68799e8c1707b08e184ddae088f7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.9.17 Linux/5.15.0-1041-azure
|