Skip to main content

Librería para guardar registros de errores y warnings personalizados en json

Project description

Error Visor

Que es?

Es un proyecto destinado a guardar registros personalizados en un archivo json que será utilizado más tarde para visualizarse en una app web de forma localizada y ordenada. Solo es necesaria una sentencia y listo, ya tienes el registro del error en tu app.

Cómo funciona?

Primero importamos el módulo:

import error_visor as EV

Luego localizamos el lugar desde donde queremos mandar el log. Por ejemplo un bloque exception y colocamos el siguiente código:

except Exception as ex:

	EV.Logger.err(
		EV.Error(
			description='Error de muestra',
			priority=EV.Priority.HIGH,
			ex=ex
		)
	)

Y listo, tendremos el registro en un json!

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

error_visor-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

error_visor-0.0.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file error_visor-0.0.1.tar.gz.

File metadata

  • Download URL: error_visor-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for error_visor-0.0.1.tar.gz
Algorithm Hash digest
SHA256 90a1d98405e00c1fbb1b11dee40229e156c2a29a9538b6f40c57edc24e5a8318
MD5 2235fe2c3bc9477b4e4523a641e83b1f
BLAKE2b-256 7d5ed1898394f26a520adc62525710eff013838dd60ec66b608a5d45e70b518b

See more details on using hashes here.

File details

Details for the file error_visor-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: error_visor-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for error_visor-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6f959d70ec8816d280a499c77b17ee3fc5e9039d3487cba4673ef1f76218130f
MD5 cca262b419107a93382d8e8d4bee1814
BLAKE2b-256 013dac4d81c369be9d1abe19e18699419d1d9f991f98e95088109d44082cd48d

See more details on using hashes here.

Supported by

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