1.0.1 • Published 4 years ago

log-http-pretty v1.0.1

Weekly downloads
6
License
MIT
Repository
github
Last release
4 years ago

Log-Http

This is a powerful logger for services.

Installation

Dillinger requires Node.js v4+ to run.

Install and start the server.

$ node install log-http
$ node run start

Features!

  • Logger success
  • Logger warning
  • Mark init service
  • Mark end service
  • Reponse Services
  • Reponde middleware service

    Examples!

var jsonTest= {
    "Example" : "Hello"

}
LogHttp.beggin();
LogHttp.end();
LogHttp.success(`Ok`);
LogHttp.fail('Wrong');
LogHttp.request(jsonTest);
LogHttp.reponseService(200,'localhost:8080/getCar',jsonTest,jsonTest,'Prueba de Titulo');
LogHttp.reponseSuccess(200,jsonTest);
  

image