Tools to generate pretty logs quickly using default logging library
Project description
Logging utils
Este repositorio contiene un código muy básico que sirve para dar un formato visual e informacionalmente completo a los logs usando la librería estándar logging. Por supuesto, esta configuración podría realizarse cada vez en cada proyecto, pero encuentro eso engorroso y una pérdida de tiempo, así que he considerado mejor externalizarlo todo a una pequeña librería externa.
Utilización
from logutils import get_logger
logger = get_logger(__name__)
logger.info("Hola hola!")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file logutils_serpucga-0.1.9.tar.gz
.
File metadata
- Download URL: logutils_serpucga-0.1.9.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 554275752ad3a2c9fe3b6582f0485d39e6b93aebc1c50ba16fc60e5fc850c486 |
|
MD5 | 47d46c6ec86e45f4015ff90280555581 |
|
BLAKE2b-256 | 436f52735f8ddde57e771ecd379d2fd8cb7c4bce201fff97401ae2524094d332 |
File details
Details for the file logutils_serpucga-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: logutils_serpucga-0.1.9-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 932454df96fc2cf17a38bd4673f0efaa063b0dc099c731f10857d10a1bc32823 |
|
MD5 | d16fbc6a80afa69e2ef7a97a485d90e3 |
|
BLAKE2b-256 | 5b02885eabf70da73b62935f4dd1770053150b011d9cbc259e441acef7730989 |