Skip to main content

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


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

If you're not sure about the file name format, learn more about wheel file names.

buddybet_logmon_common-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file buddybet_logmon_common-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for buddybet_logmon_common-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e4d188f4389180f2d83f4da40b14c5dd9acaa1fef744789d8b1700f7363b1492
MD5 adb6808af94bd5bf7b59457bb540c7cf
BLAKE2b-256 20d5770bc3b501e2bd471f9799b1e651e2416bd30ffc60440afd8ad82a978bb8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page