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!
CHANGELOG
v0.0.2
- Fixed: Making of new
logs
dir when that not exists
v0.0.1
- First upload
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.2.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for error_visor-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97f788c0a3a851a8408114ba6785808a1193c42fd0b09b972f6e896ef06a5f77 |
|
MD5 | 5970b02f50a38df7ecf01a85881efdd3 |
|
BLAKE2b-256 | c6fafb2c7a76645539266f357541599aead8e7700f01c355fa219cae2afba3ed |