custom-console-logcr
v1.0.2
Published
Log para consola personalziada
Downloads
8
Readme
Custom Console Log
Librería que muestra diferentes mensajes en colores personalizados para hacer referencia a mensajes "ok", "info", "error" e incluso de "aviso".
Instalación
npm i custom-console-logcr
Uso
Para usar el módulo tenemos que importarlo.
var m = require('custom-console-logcr');
Mensaje de confirmación "ok"
m.ok('Los datos se han enviado correctamente');
Mensaje de confirmación "info"
m.info('Los datos se han enviado correctamente');
Mensaje de confirmación "aviso"
m.aviso('Los datos se han enviado correctamente aunque no muy rápido');
Mensaje de confirmación "ok"
m.error('Los datos NO se han enviado correctamente');