Librería de logging en formato JSON con integración para FastAPI
Project description
buddybet-logmon-common
Librería de logging estructurado en formato JSON para aplicaciones Python.
Permite generar trazas con niveles de log (DEBUG, INFO, ERROR, etc.), incluyendo datos adicionales, módulo, función y excepciones.
🚀 Instalación
Desde PyPI (una vez publicada):
pip install buddybet-logmon-common
## 🚀 USO BASICO
# Logger genérico
from buddybet_logmon_common.logger import get_logger
logger = get_logger()
logger.info("Hello JSON logger!")
# Integración con FastAPI
from buddybet_logmon_common.fastapi_logger import setup_fastapi_logging
setup_fastapi_logging(app)
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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 buddybet_logmon_common-0.1.0-py3-none-any.whl.
File metadata
- Download URL: buddybet_logmon_common-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4d188f4389180f2d83f4da40b14c5dd9acaa1fef744789d8b1700f7363b1492
|
|
| MD5 |
adb6808af94bd5bf7b59457bb540c7cf
|
|
| BLAKE2b-256 |
20d5770bc3b501e2bd471f9799b1e651e2416bd30ffc60440afd8ad82a978bb8
|